@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class VpcCidrBlockState extends Object implements Serializable, Cloneable
Describes the state of a CIDR block.
| Constructor and Description |
|---|
VpcCidrBlockState() |
| Modifier and Type | Method and Description |
|---|---|
VpcCidrBlockState |
clone() |
boolean |
equals(Object obj) |
String |
getState()
The state of the CIDR block.
|
String |
getStatusMessage()
A message about the status of the CIDR block, if applicable.
|
int |
hashCode() |
void |
setState(String state)
The state of the CIDR block.
|
void |
setState(VpcCidrBlockStateCode state)
The state of the 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.
|
VpcCidrBlockState |
withState(String state)
The state of the CIDR block.
|
VpcCidrBlockState |
withState(VpcCidrBlockStateCode state)
The state of the CIDR block.
|
VpcCidrBlockState |
withStatusMessage(String statusMessage)
A message about the status of the CIDR block, if applicable.
|
public void setState(String state)
The state of the CIDR block.
state - The state of the CIDR block.VpcCidrBlockStateCodepublic String getState()
The state of the CIDR block.
VpcCidrBlockStateCodepublic VpcCidrBlockState withState(String state)
The state of the CIDR block.
state - The state of the CIDR block.VpcCidrBlockStateCodepublic void setState(VpcCidrBlockStateCode state)
The state of the CIDR block.
state - The state of the CIDR block.VpcCidrBlockStateCodepublic VpcCidrBlockState withState(VpcCidrBlockStateCode state)
The state of the CIDR block.
state - The state of the CIDR block.VpcCidrBlockStateCodepublic 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 VpcCidrBlockState 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 VpcCidrBlockState clone()