@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListReadSetsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListReadSetsResult() |
Modifier and Type | Method and Description |
---|---|
ListReadSetsResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
A pagination token that's included if more results are available.
|
List<ReadSetListItem> |
getReadSets()
A list of read sets.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
A pagination token that's included if more results are available.
|
void |
setReadSets(Collection<ReadSetListItem> readSets)
A list of read sets.
|
String |
toString()
Returns a string representation of this object.
|
ListReadSetsResult |
withNextToken(String nextToken)
A pagination token that's included if more results are available.
|
ListReadSetsResult |
withReadSets(Collection<ReadSetListItem> readSets)
A list of read sets.
|
ListReadSetsResult |
withReadSets(ReadSetListItem... readSets)
A list of read sets.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setNextToken(String nextToken)
A pagination token that's included if more results are available.
nextToken
- A pagination token that's included if more results are available.public String getNextToken()
A pagination token that's included if more results are available.
public ListReadSetsResult withNextToken(String nextToken)
A pagination token that's included if more results are available.
nextToken
- A pagination token that's included if more results are available.public List<ReadSetListItem> getReadSets()
A list of read sets.
public void setReadSets(Collection<ReadSetListItem> readSets)
A list of read sets.
readSets
- A list of read sets.public ListReadSetsResult withReadSets(ReadSetListItem... readSets)
A list of read sets.
NOTE: This method appends the values to the existing list (if any). Use
setReadSets(java.util.Collection)
or withReadSets(java.util.Collection)
if you want to override
the existing values.
readSets
- A list of read sets.public ListReadSetsResult withReadSets(Collection<ReadSetListItem> readSets)
A list of read sets.
readSets
- A list of read sets.public String toString()
toString
in class Object
Object.toString()
public ListReadSetsResult clone()