@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetPartitionsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetPartitionsResult() |
Modifier and Type | Method and Description |
---|---|
GetPartitionsResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
A continuation token, if the returned list of partitions does not does not include the last one.
|
List<Partition> |
getPartitions()
A list of requested partitions.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
A continuation token, if the returned list of partitions does not does not include the last one.
|
void |
setPartitions(Collection<Partition> partitions)
A list of requested partitions.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
GetPartitionsResult |
withNextToken(String nextToken)
A continuation token, if the returned list of partitions does not does not include the last one.
|
GetPartitionsResult |
withPartitions(Collection<Partition> partitions)
A list of requested partitions.
|
GetPartitionsResult |
withPartitions(Partition... partitions)
A list of requested partitions.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<Partition> getPartitions()
A list of requested partitions.
public void setPartitions(Collection<Partition> partitions)
A list of requested partitions.
partitions
- A list of requested partitions.public GetPartitionsResult withPartitions(Partition... partitions)
A list of requested partitions.
NOTE: This method appends the values to the existing list (if any). Use
setPartitions(java.util.Collection)
or withPartitions(java.util.Collection)
if you want to
override the existing values.
partitions
- A list of requested partitions.public GetPartitionsResult withPartitions(Collection<Partition> partitions)
A list of requested partitions.
partitions
- A list of requested partitions.public void setNextToken(String nextToken)
A continuation token, if the returned list of partitions does not does not include the last one.
nextToken
- A continuation token, if the returned list of partitions does not does not include the last one.public String getNextToken()
A continuation token, if the returned list of partitions does not does not include the last one.
public GetPartitionsResult withNextToken(String nextToken)
A continuation token, if the returned list of partitions does not does not include the last one.
nextToken
- A continuation token, if the returned list of partitions does not does not include the last one.public String toString()
toString
in class Object
Object.toString()
public GetPartitionsResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.