C# Class Amazon.EC2.SpotInstanceState

Constants used for properties of type SpotInstanceState.
Inheritance: ConstantClass
Show file Open project: aws/aws-sdk-net

Public Properties

Property Type Description
Active SpotInstanceState
Cancelled SpotInstanceState
Closed SpotInstanceState
Failed SpotInstanceState
Open SpotInstanceState

Public Methods

Method Description
FindValue ( string value ) : SpotInstanceState

Finds the constant for the unique value.

SpotInstanceState ( string value ) : System

This constant constructor does not need to be called if the constant you are attempting to use is already defined as a static instance of this class. This constructor should be used to construct constants that are not defined as statics, for instance if attempting to use a feature that is newer than the current version of the SDK.

Method Details

FindValue() public static method

Finds the constant for the unique value.
public static FindValue ( string value ) : SpotInstanceState
value string The unique value for the constant
return SpotInstanceState

SpotInstanceState() public method

This constant constructor does not need to be called if the constant you are attempting to use is already defined as a static instance of this class. This constructor should be used to construct constants that are not defined as statics, for instance if attempting to use a feature that is newer than the current version of the SDK.
public SpotInstanceState ( string value ) : System
value string
return System

Property Details

Active public static property

Constant Active for SpotInstanceState
public static SpotInstanceState,Amazon.EC2 Active
return SpotInstanceState

Cancelled public static property

Constant Cancelled for SpotInstanceState
public static SpotInstanceState,Amazon.EC2 Cancelled
return SpotInstanceState

Closed public static property

Constant Closed for SpotInstanceState
public static SpotInstanceState,Amazon.EC2 Closed
return SpotInstanceState

Failed public static property

Constant Failed for SpotInstanceState
public static SpotInstanceState,Amazon.EC2 Failed
return SpotInstanceState

Open public static property

Constant Open for SpotInstanceState
public static SpotInstanceState,Amazon.EC2 Open
return SpotInstanceState