@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SubnetCidrBlockState extends Object implements Serializable, Cloneable
Describes the state of a CIDR block.
| Constructor and Description |
|---|
SubnetCidrBlockState() |
| Modifier and Type | Method and Description |
|---|---|
SubnetCidrBlockState |
clone() |
boolean |
equals(Object obj) |
String |
getState()
The state of a CIDR block.
|
String |
getStatusMessage()
A message about the status of the CIDR block, if applicable.
|
int |
hashCode() |
void |
setState(String state)
The state of a CIDR block.
|
void |
setState(SubnetCidrBlockStateCode state)
The state of a CIDR block.
|
void |
setStatusMessage(String statusMessage)
A message about the status of the CIDR block, if applicable.
|
String |
toString()
Returns a string representation of this object.
|
SubnetCidrBlockState |
withState(String state)
The state of a CIDR block.
|
SubnetCidrBlockState |
withState(SubnetCidrBlockStateCode state)
The state of a CIDR block.
|
SubnetCidrBlockState |
withStatusMessage(String statusMessage)
A message about the status of the CIDR block, if applicable.
|
public void setState(String state)
The state of a CIDR block.
state - The state of a CIDR block.SubnetCidrBlockStateCodepublic String getState()
The state of a CIDR block.
SubnetCidrBlockStateCodepublic SubnetCidrBlockState withState(String state)
The state of a CIDR block.
state - The state of a CIDR block.SubnetCidrBlockStateCodepublic void setState(SubnetCidrBlockStateCode state)
The state of a CIDR block.
state - The state of a CIDR block.SubnetCidrBlockStateCodepublic SubnetCidrBlockState withState(SubnetCidrBlockStateCode state)
The state of a CIDR block.
state - The state of a CIDR block.SubnetCidrBlockStateCodepublic void setStatusMessage(String statusMessage)
A message about the status of the CIDR block, if applicable.
statusMessage - A message about the status of the CIDR block, if applicable.public String getStatusMessage()
A message about the status of the CIDR block, if applicable.
public SubnetCidrBlockState withStatusMessage(String statusMessage)
A message about the status of the CIDR block, if applicable.
statusMessage - A message about the status of the CIDR block, if applicable.public String toString()
toString in class ObjectObject.toString()public SubnetCidrBlockState clone()