@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()
The name or ID of the resource of which the application will be associated.
|
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)
The name or ID of the resource of which the application will be associated.
|
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)
The name or ID of the resource of which the application will be associated.
|
ListAssociatedResourcesResult |
withResources(ResourceInfo... resources)
The name or ID of the resource of which the application will be associated.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic List<ResourceInfo> getResources()
The name or ID of the resource of which the application will be associated.
public void setResources(Collection<ResourceInfo> resources)
The name or ID of the resource of which the application will be associated.
resources - The name or ID of the resource of which the application will be associated.public ListAssociatedResourcesResult withResources(ResourceInfo... resources)
The name or ID of the resource of which the application will be associated.
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 - The name or ID of the resource of which the application will be associated.public ListAssociatedResourcesResult withResources(Collection<ResourceInfo> resources)
The name or ID of the resource of which the application will be associated.
resources - The name or ID of the resource of which the application will be associated.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 ObjectObject.toString()public ListAssociatedResourcesResult clone()