@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListResourceSetsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListResourceSetsResult() |
Modifier and Type | Method and Description |
---|---|
ListResourceSetsResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
A token that can be used to resume pagination from the end of the collection.
|
List<ResourceSetOutput> |
getResourceSets()
A list of ResourceSets associated with the account
|
int |
hashCode() |
void |
setNextToken(String nextToken)
A token that can be used to resume pagination from the end of the collection.
|
void |
setResourceSets(Collection<ResourceSetOutput> resourceSets)
A list of ResourceSets associated with the account
|
String |
toString()
Returns a string representation of this object.
|
ListResourceSetsResult |
withNextToken(String nextToken)
A token that can be used to resume pagination from the end of the collection.
|
ListResourceSetsResult |
withResourceSets(Collection<ResourceSetOutput> resourceSets)
A list of ResourceSets associated with the account
|
ListResourceSetsResult |
withResourceSets(ResourceSetOutput... resourceSets)
A list of ResourceSets associated with the account
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setNextToken(String nextToken)
nextToken
- A token that can be used to resume pagination from the end of the collection.public String getNextToken()
public ListResourceSetsResult withNextToken(String nextToken)
nextToken
- A token that can be used to resume pagination from the end of the collection.public List<ResourceSetOutput> getResourceSets()
public void setResourceSets(Collection<ResourceSetOutput> resourceSets)
resourceSets
- A list of ResourceSets associated with the accountpublic ListResourceSetsResult withResourceSets(ResourceSetOutput... resourceSets)
NOTE: This method appends the values to the existing list (if any). Use
setResourceSets(java.util.Collection)
or withResourceSets(java.util.Collection)
if you want to
override the existing values.
resourceSets
- A list of ResourceSets associated with the accountpublic ListResourceSetsResult withResourceSets(Collection<ResourceSetOutput> resourceSets)
resourceSets
- A list of ResourceSets associated with the accountpublic String toString()
toString
in class Object
Object.toString()
public ListResourceSetsResult clone()