@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListResourceTypesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
ListResourceTypesResult() |
| Modifier and Type | Method and Description |
|---|---|
ListResourceTypesResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
The token to use to retrieve the next page of results.
|
List<ServiceNameAndResourceType> |
getResourceTypes()
The shareable resource types supported by RAM.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
The token to use to retrieve the next page of results.
|
void |
setResourceTypes(Collection<ServiceNameAndResourceType> resourceTypes)
The shareable resource types supported by RAM.
|
String |
toString()
Returns a string representation of this object.
|
ListResourceTypesResult |
withNextToken(String nextToken)
The token to use to retrieve the next page of results.
|
ListResourceTypesResult |
withResourceTypes(Collection<ServiceNameAndResourceType> resourceTypes)
The shareable resource types supported by RAM.
|
ListResourceTypesResult |
withResourceTypes(ServiceNameAndResourceType... resourceTypes)
The shareable resource types supported by RAM.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic List<ServiceNameAndResourceType> getResourceTypes()
The shareable resource types supported by RAM.
public void setResourceTypes(Collection<ServiceNameAndResourceType> resourceTypes)
The shareable resource types supported by RAM.
resourceTypes - The shareable resource types supported by RAM.public ListResourceTypesResult withResourceTypes(ServiceNameAndResourceType... resourceTypes)
The shareable resource types supported by RAM.
NOTE: This method appends the values to the existing list (if any). Use
setResourceTypes(java.util.Collection) or withResourceTypes(java.util.Collection) if you want
to override the existing values.
resourceTypes - The shareable resource types supported by RAM.public ListResourceTypesResult withResourceTypes(Collection<ServiceNameAndResourceType> resourceTypes)
The shareable resource types supported by RAM.
resourceTypes - The shareable resource types supported by RAM.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 ListResourceTypesResult 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 ObjectObject.toString()public ListResourceTypesResult clone()
Copyright © 2021. All rights reserved.