@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CidrBlockAssociation extends Object implements Serializable, Cloneable, StructuredPojo
An IPv4 CIDR block association.
Constructor and Description |
---|
CidrBlockAssociation() |
Modifier and Type | Method and Description |
---|---|
CidrBlockAssociation |
clone() |
boolean |
equals(Object obj) |
String |
getAssociationId()
The association ID for the IPv4 CIDR block.
|
String |
getCidrBlock()
The IPv4 CIDR block.
|
String |
getCidrBlockState()
Information about the state of the IPv4 CIDR block.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAssociationId(String associationId)
The association ID for the IPv4 CIDR block.
|
void |
setCidrBlock(String cidrBlock)
The IPv4 CIDR block.
|
void |
setCidrBlockState(String cidrBlockState)
Information about the state of the IPv4 CIDR block.
|
String |
toString()
Returns a string representation of this object.
|
CidrBlockAssociation |
withAssociationId(String associationId)
The association ID for the IPv4 CIDR block.
|
CidrBlockAssociation |
withCidrBlock(String cidrBlock)
The IPv4 CIDR block.
|
CidrBlockAssociation |
withCidrBlockState(String cidrBlockState)
Information about the state of the IPv4 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 CidrBlockAssociation 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 CidrBlockAssociation withCidrBlock(String cidrBlock)
The IPv4 CIDR block.
cidrBlock
- The IPv4 CIDR block.public void setCidrBlockState(String cidrBlockState)
Information about the state of the IPv4 CIDR block.
cidrBlockState
- Information about the state of the IPv4 CIDR block.public String getCidrBlockState()
Information about the state of the IPv4 CIDR block.
public CidrBlockAssociation withCidrBlockState(String cidrBlockState)
Information about the state of the IPv4 CIDR block.
cidrBlockState
- Information about the state of the IPv4 CIDR block.public String toString()
toString
in class Object
Object.toString()
public CidrBlockAssociation clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.