C# Class Amazon.Lightsail.PortState

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

Public Properties

Property Type Description
Closed PortState
Open PortState

Public Methods

Method Description
FindValue ( string value ) : PortState

Finds the constant for the unique value.

PortState ( 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 ) : PortState
value string The unique value for the constant
return PortState

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

Property Details

Closed public_oe static_oe property

Constant Closed for PortState
public static PortState,Amazon.Lightsail Closed
return PortState

Open public_oe static_oe property

Constant Open for PortState
public static PortState,Amazon.Lightsail Open
return PortState