@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetRegionOptStatusResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetRegionOptStatusResult() |
Modifier and Type | Method and Description |
---|---|
GetRegionOptStatusResult |
clone() |
boolean |
equals(Object obj) |
String |
getRegionName()
The Region code that was passed in.
|
String |
getRegionOptStatus()
One of the potential statuses a Region can undergo (Enabled, Enabling, Disabled, Disabling, Enabled_By_Default).
|
int |
hashCode() |
void |
setRegionName(String regionName)
The Region code that was passed in.
|
void |
setRegionOptStatus(String regionOptStatus)
One of the potential statuses a Region can undergo (Enabled, Enabling, Disabled, Disabling, Enabled_By_Default).
|
String |
toString()
Returns a string representation of this object.
|
GetRegionOptStatusResult |
withRegionName(String regionName)
The Region code that was passed in.
|
GetRegionOptStatusResult |
withRegionOptStatus(RegionOptStatus regionOptStatus)
One of the potential statuses a Region can undergo (Enabled, Enabling, Disabled, Disabling, Enabled_By_Default).
|
GetRegionOptStatusResult |
withRegionOptStatus(String regionOptStatus)
One of the potential statuses a Region can undergo (Enabled, Enabling, Disabled, Disabling, Enabled_By_Default).
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setRegionName(String regionName)
The Region code that was passed in.
regionName
- The Region code that was passed in.public String getRegionName()
The Region code that was passed in.
public GetRegionOptStatusResult withRegionName(String regionName)
The Region code that was passed in.
regionName
- The Region code that was passed in.public void setRegionOptStatus(String regionOptStatus)
One of the potential statuses a Region can undergo (Enabled, Enabling, Disabled, Disabling, Enabled_By_Default).
regionOptStatus
- One of the potential statuses a Region can undergo (Enabled, Enabling, Disabled, Disabling,
Enabled_By_Default).RegionOptStatus
public String getRegionOptStatus()
One of the potential statuses a Region can undergo (Enabled, Enabling, Disabled, Disabling, Enabled_By_Default).
RegionOptStatus
public GetRegionOptStatusResult withRegionOptStatus(String regionOptStatus)
One of the potential statuses a Region can undergo (Enabled, Enabling, Disabled, Disabling, Enabled_By_Default).
regionOptStatus
- One of the potential statuses a Region can undergo (Enabled, Enabling, Disabled, Disabling,
Enabled_By_Default).RegionOptStatus
public GetRegionOptStatusResult withRegionOptStatus(RegionOptStatus regionOptStatus)
One of the potential statuses a Region can undergo (Enabled, Enabling, Disabled, Disabling, Enabled_By_Default).
regionOptStatus
- One of the potential statuses a Region can undergo (Enabled, Enabling, Disabled, Disabling,
Enabled_By_Default).RegionOptStatus
public String toString()
toString
in class Object
Object.toString()
public GetRegionOptStatusResult clone()