@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 AWS 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 AWS 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 AWS RAM.
|
ListResourceTypesResult |
withResourceTypes(ServiceNameAndResourceType... resourceTypes)
The shareable resource types supported by AWS RAM.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<ServiceNameAndResourceType> getResourceTypes()
The shareable resource types supported by AWS RAM.
public void setResourceTypes(Collection<ServiceNameAndResourceType> resourceTypes)
The shareable resource types supported by AWS RAM.
resourceTypes
- The shareable resource types supported by AWS RAM.public ListResourceTypesResult withResourceTypes(ServiceNameAndResourceType... resourceTypes)
The shareable resource types supported by AWS 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 AWS RAM.public ListResourceTypesResult withResourceTypes(Collection<ServiceNameAndResourceType> resourceTypes)
The shareable resource types supported by AWS RAM.
resourceTypes
- The shareable resource types supported by AWS 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 Object
Object.toString()
public ListResourceTypesResult clone()