@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListResourcesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListResourcesResult() |
Modifier and Type | Method and Description |
---|---|
ListResourcesResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
The continuation token to use when requesting the next set of results, if there are more results to be returned.
|
List<Resource> |
getResources()
An array of resources associated with the project.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
The continuation token to use when requesting the next set of results, if there are more results to be returned.
|
void |
setResources(Collection<Resource> resources)
An array of resources associated with the project.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
ListResourcesResult |
withNextToken(String nextToken)
The continuation token to use when requesting the next set of results, if there are more results to be returned.
|
ListResourcesResult |
withResources(Collection<Resource> resources)
An array of resources associated with the project.
|
ListResourcesResult |
withResources(Resource... resources)
An array of resources associated with the project.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<Resource> getResources()
An array of resources associated with the project.
public void setResources(Collection<Resource> resources)
An array of resources associated with the project.
resources
- An array of resources associated with the project.public ListResourcesResult withResources(Resource... resources)
An array of resources associated with the project.
NOTE: This method appends the values to the existing list (if any). Use
setResources(java.util.Collection)
or withResources(java.util.Collection)
if you want to
override the existing values.
resources
- An array of resources associated with the project.public ListResourcesResult withResources(Collection<Resource> resources)
An array of resources associated with the project.
resources
- An array of resources associated with the project.public void setNextToken(String nextToken)
The continuation token to use when requesting the next set of results, if there are more results to be returned.
nextToken
- The continuation token to use when requesting the next set of results, if there are more results to be
returned.public String getNextToken()
The continuation token to use when requesting the next set of results, if there are more results to be returned.
public ListResourcesResult withNextToken(String nextToken)
The continuation token to use when requesting the next set of results, if there are more results to be returned.
nextToken
- The continuation token to use when requesting the next set of results, if there are more results to be
returned.public String toString()
toString
in class Object
Object.toString()
public ListResourcesResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.