@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CidrBlockSummary extends Object implements Serializable, Cloneable
A complex type that lists the CIDR blocks.
Constructor and Description |
---|
CidrBlockSummary() |
Modifier and Type | Method and Description |
---|---|
CidrBlockSummary |
clone() |
boolean |
equals(Object obj) |
String |
getCidrBlock()
Value for the CIDR block.
|
String |
getLocationName()
The location name of the CIDR block.
|
int |
hashCode() |
void |
setCidrBlock(String cidrBlock)
Value for the CIDR block.
|
void |
setLocationName(String locationName)
The location name of the CIDR block.
|
String |
toString()
Returns a string representation of this object.
|
CidrBlockSummary |
withCidrBlock(String cidrBlock)
Value for the CIDR block.
|
CidrBlockSummary |
withLocationName(String locationName)
The location name of the CIDR block.
|
public void setCidrBlock(String cidrBlock)
Value for the CIDR block.
cidrBlock
- Value for the CIDR block.public String getCidrBlock()
Value for the CIDR block.
public CidrBlockSummary withCidrBlock(String cidrBlock)
Value for the CIDR block.
cidrBlock
- Value for the CIDR block.public void setLocationName(String locationName)
The location name of the CIDR block.
locationName
- The location name of the CIDR block.public String getLocationName()
The location name of the CIDR block.
public CidrBlockSummary withLocationName(String locationName)
The location name of the CIDR block.
locationName
- The location name of the CIDR block.public String toString()
toString
in class Object
Object.toString()
public CidrBlockSummary clone()