@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class VpcCidrBlockAssociation extends Object implements Serializable, Cloneable
Describes an IPv4 CIDR block associated with a VPC.
Constructor and Description |
---|
VpcCidrBlockAssociation() |
Modifier and Type | Method and Description |
---|---|
VpcCidrBlockAssociation |
clone() |
boolean |
equals(Object obj) |
String |
getAssociationId()
The association ID for the IPv4 CIDR block.
|
String |
getCidrBlock()
The IPv4 CIDR block.
|
VpcCidrBlockState |
getCidrBlockState()
Information about the state of the CIDR block.
|
int |
hashCode() |
void |
setAssociationId(String associationId)
The association ID for the IPv4 CIDR block.
|
void |
setCidrBlock(String cidrBlock)
The IPv4 CIDR block.
|
void |
setCidrBlockState(VpcCidrBlockState cidrBlockState)
Information about the state of the CIDR block.
|
String |
toString()
Returns a string representation of this object.
|
VpcCidrBlockAssociation |
withAssociationId(String associationId)
The association ID for the IPv4 CIDR block.
|
VpcCidrBlockAssociation |
withCidrBlock(String cidrBlock)
The IPv4 CIDR block.
|
VpcCidrBlockAssociation |
withCidrBlockState(VpcCidrBlockState cidrBlockState)
Information about the state of the CIDR block.
|
public void setAssociationId(String associationId)
The association ID for the IPv4 CIDR block.
associationId
- The association ID for the IPv4 CIDR block.public String getAssociationId()
The association ID for the IPv4 CIDR block.
public VpcCidrBlockAssociation withAssociationId(String associationId)
The association ID for the IPv4 CIDR block.
associationId
- The association ID for the IPv4 CIDR block.public void setCidrBlock(String cidrBlock)
The IPv4 CIDR block.
cidrBlock
- The IPv4 CIDR block.public String getCidrBlock()
The IPv4 CIDR block.
public VpcCidrBlockAssociation withCidrBlock(String cidrBlock)
The IPv4 CIDR block.
cidrBlock
- The IPv4 CIDR block.public void setCidrBlockState(VpcCidrBlockState cidrBlockState)
Information about the state of the CIDR block.
cidrBlockState
- Information about the state of the CIDR block.public VpcCidrBlockState getCidrBlockState()
Information about the state of the CIDR block.
public VpcCidrBlockAssociation withCidrBlockState(VpcCidrBlockState cidrBlockState)
Information about the state of the CIDR block.
cidrBlockState
- Information about the state of the CIDR block.public String toString()
toString
in class Object
Object.toString()
public VpcCidrBlockAssociation clone()