@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListAssociatedResourcesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListAssociatedResourcesResult() |
Modifier and Type | Method and Description |
---|---|
ListAssociatedResourcesResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
The token to use to get the next page of results after a previous API call.
|
List<ResourceInfo> |
getResources()
Information about the resources.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
The token to use to get the next page of results after a previous API call.
|
void |
setResources(Collection<ResourceInfo> resources)
Information about the resources.
|
String |
toString()
Returns a string representation of this object.
|
ListAssociatedResourcesResult |
withNextToken(String nextToken)
The token to use to get the next page of results after a previous API call.
|
ListAssociatedResourcesResult |
withResources(Collection<ResourceInfo> resources)
Information about the resources.
|
ListAssociatedResourcesResult |
withResources(ResourceInfo... resources)
Information about the resources.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<ResourceInfo> getResources()
Information about the resources.
public void setResources(Collection<ResourceInfo> resources)
Information about the resources.
resources
- Information about the resources.public ListAssociatedResourcesResult withResources(ResourceInfo... 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 ListAssociatedResourcesResult withResources(Collection<ResourceInfo> resources)
Information about the resources.
resources
- Information about the resources.public void setNextToken(String nextToken)
The token to use to get the next page of results after a previous API call.
nextToken
- The token to use to get the next page of results after a previous API call.public String getNextToken()
The token to use to get the next page of results after a previous API call.
public ListAssociatedResourcesResult withNextToken(String nextToken)
The token to use to get the next page of results after a previous API call.
nextToken
- The token to use to get the next page of results after a previous API call.public String toString()
toString
in class Object
Object.toString()
public ListAssociatedResourcesResult clone()