@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 token to use to retrieve the next page of results.
|
List<Resource> |
getResources()
Information about the resources.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
The token to use to retrieve the next page of results.
|
void |
setResources(Collection<Resource> resources)
Information about the resources.
|
String |
toString()
Returns a string representation of this object.
|
ListResourcesResult |
withNextToken(String nextToken)
The token to use to retrieve the next page of results.
|
ListResourcesResult |
withResources(Collection<Resource> resources)
Information about the resources.
|
ListResourcesResult |
withResources(Resource... resources)
Information about the resources.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<Resource> getResources()
Information about the resources.
public void setResources(Collection<Resource> resources)
Information about the resources.
resources
- Information about the resources.public ListResourcesResult withResources(Resource... resources)
Information about the resources.
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
- Information about the resources.public ListResourcesResult withResources(Collection<Resource> resources)
Information about the resources.
resources
- Information about the resources.public void setNextToken(String nextToken)
The token to use to retrieve the next page of results. This value is null
when there are no more
results to return.
nextToken
- The token to use to retrieve the next page of results. This value is null
when there are no
more results to return.public String getNextToken()
The token to use to retrieve the next page of results. This value is null
when there are no more
results to return.
null
when there are no
more results to return.public ListResourcesResult withNextToken(String nextToken)
The token to use to retrieve the next page of results. This value is null
when there are no more
results to return.
nextToken
- The token to use to retrieve the next page of results. This value is null
when there are no
more results to return.public String toString()
toString
in class Object
Object.toString()
public ListResourcesResult clone()