@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListCidrCollectionsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListCidrCollectionsResult() |
Modifier and Type | Method and Description |
---|---|
ListCidrCollectionsResult |
clone() |
boolean |
equals(Object obj) |
List<CollectionSummary> |
getCidrCollections()
A complex type with information about the CIDR collection.
|
String |
getNextToken()
An opaque pagination token to indicate where the service is to begin enumerating results.
|
int |
hashCode() |
void |
setCidrCollections(Collection<CollectionSummary> cidrCollections)
A complex type with information about the CIDR collection.
|
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.
|
ListCidrCollectionsResult |
withCidrCollections(Collection<CollectionSummary> cidrCollections)
A complex type with information about the CIDR collection.
|
ListCidrCollectionsResult |
withCidrCollections(CollectionSummary... cidrCollections)
A complex type with information about the CIDR collection.
|
ListCidrCollectionsResult |
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 ListCidrCollectionsResult 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<CollectionSummary> getCidrCollections()
A complex type with information about the CIDR collection.
public void setCidrCollections(Collection<CollectionSummary> cidrCollections)
A complex type with information about the CIDR collection.
cidrCollections
- A complex type with information about the CIDR collection.public ListCidrCollectionsResult withCidrCollections(CollectionSummary... cidrCollections)
A complex type with information about the CIDR collection.
NOTE: This method appends the values to the existing list (if any). Use
setCidrCollections(java.util.Collection)
or withCidrCollections(java.util.Collection)
if you
want to override the existing values.
cidrCollections
- A complex type with information about the CIDR collection.public ListCidrCollectionsResult withCidrCollections(Collection<CollectionSummary> cidrCollections)
A complex type with information about the CIDR collection.
cidrCollections
- A complex type with information about the CIDR collection.public String toString()
toString
in class Object
Object.toString()
public ListCidrCollectionsResult clone()