C# Class Amazon.EC2.Affinity

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

Public Properties

Property Type Description
Default Affinity
Host Affinity

Public Methods

Method Description
Affinity ( 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.

FindValue ( string value ) : Affinity

Finds the constant for the unique value.

Method Details

Affinity() 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 Affinity ( string value ) : System
value string
return System

FindValue() public static method

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

Property Details

Default public static property

Constant Default for Affinity
public static Affinity,Amazon.EC2 Default
return Affinity

Host public static property

Constant Host for Affinity
public static Affinity,Amazon.EC2 Host
return Affinity