@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListCidrBlocksResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListCidrBlocksResult() |
Modifier and Type | Method and Description |
---|---|
ListCidrBlocksResult |
clone() |
boolean |
equals(Object obj) |
List<CidrBlockSummary> |
getCidrBlocks()
A complex type that contains information about the CIDR blocks.
|
String |
getNextToken()
An opaque pagination token to indicate where the service is to begin enumerating results.
|
int |
hashCode() |
void |
setCidrBlocks(Collection<CidrBlockSummary> cidrBlocks)
A complex type that contains information about the CIDR blocks.
|
void |
setNextToken(String nextToken)
An opaque pagination token to indicate where the service is to begin enumerating results.
|
String |
toString()
Returns a string representation of this object.
|
ListCidrBlocksResult |
withCidrBlocks(CidrBlockSummary... cidrBlocks)
A complex type that contains information about the CIDR blocks.
|
ListCidrBlocksResult |
withCidrBlocks(Collection<CidrBlockSummary> cidrBlocks)
A complex type that contains information about the CIDR blocks.
|
ListCidrBlocksResult |
withNextToken(String nextToken)
An opaque pagination token to indicate where the service is to begin enumerating results.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setNextToken(String nextToken)
An opaque pagination token to indicate where the service is to begin enumerating results.
If no value is provided, the listing of results starts from the beginning.
nextToken
- An opaque pagination token to indicate where the service is to begin enumerating results.
If no value is provided, the listing of results starts from the beginning.
public String getNextToken()
An opaque pagination token to indicate where the service is to begin enumerating results.
If no value is provided, the listing of results starts from the beginning.
If no value is provided, the listing of results starts from the beginning.
public ListCidrBlocksResult withNextToken(String nextToken)
An opaque pagination token to indicate where the service is to begin enumerating results.
If no value is provided, the listing of results starts from the beginning.
nextToken
- An opaque pagination token to indicate where the service is to begin enumerating results.
If no value is provided, the listing of results starts from the beginning.
public List<CidrBlockSummary> getCidrBlocks()
A complex type that contains information about the CIDR blocks.
public void setCidrBlocks(Collection<CidrBlockSummary> cidrBlocks)
A complex type that contains information about the CIDR blocks.
cidrBlocks
- A complex type that contains information about the CIDR blocks.public ListCidrBlocksResult withCidrBlocks(CidrBlockSummary... cidrBlocks)
A complex type that contains information about the CIDR blocks.
NOTE: This method appends the values to the existing list (if any). Use
setCidrBlocks(java.util.Collection)
or withCidrBlocks(java.util.Collection)
if you want to
override the existing values.
cidrBlocks
- A complex type that contains information about the CIDR blocks.public ListCidrBlocksResult withCidrBlocks(Collection<CidrBlockSummary> cidrBlocks)
A complex type that contains information about the CIDR blocks.
cidrBlocks
- A complex type that contains information about the CIDR blocks.public String toString()
toString
in class Object
Object.toString()
public ListCidrBlocksResult clone()