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