@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()
If present, this value indicates that more output is available than is included in the current response.
|
List<ServiceNameAndResourceType> |
getResourceTypes()
An array of objects that contain information about the resource types that can be shared using RAM.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
If present, this value indicates that more output is available than is included in the current response.
|
void |
setResourceTypes(Collection<ServiceNameAndResourceType> resourceTypes)
An array of objects that contain information about the resource types that can be shared using RAM.
|
String |
toString()
Returns a string representation of this object.
|
ListResourceTypesResult |
withNextToken(String nextToken)
If present, this value indicates that more output is available than is included in the current response.
|
ListResourceTypesResult |
withResourceTypes(Collection<ServiceNameAndResourceType> resourceTypes)
An array of objects that contain information about the resource types that can be shared using RAM.
|
ListResourceTypesResult |
withResourceTypes(ServiceNameAndResourceType... resourceTypes)
An array of objects that contain information about the resource types that can be shared using RAM.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<ServiceNameAndResourceType> getResourceTypes()
An array of objects that contain information about the resource types that can be shared using RAM.
public void setResourceTypes(Collection<ServiceNameAndResourceType> resourceTypes)
An array of objects that contain information about the resource types that can be shared using RAM.
resourceTypes
- An array of objects that contain information about the resource types that can be shared using RAM.public ListResourceTypesResult withResourceTypes(ServiceNameAndResourceType... resourceTypes)
An array of objects that contain information about the resource types that can be shared using 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
- An array of objects that contain information about the resource types that can be shared using RAM.public ListResourceTypesResult withResourceTypes(Collection<ServiceNameAndResourceType> resourceTypes)
An array of objects that contain information about the resource types that can be shared using RAM.
resourceTypes
- An array of objects that contain information about the resource types that can be shared using RAM.public void setNextToken(String nextToken)
If present, this value indicates that more output is available than is included in the current response. Use this
value in the NextToken
request parameter in a subsequent call to the operation to get the next part
of the output. You should repeat this until the NextToken
response element comes back as
null
. This indicates that this is the last page of results.
nextToken
- If present, this value indicates that more output is available than is included in the current response.
Use this value in the NextToken
request parameter in a subsequent call to the operation to
get the next part of the output. You should repeat this until the NextToken
response element
comes back as null
. This indicates that this is the last page of results.public String getNextToken()
If present, this value indicates that more output is available than is included in the current response. Use this
value in the NextToken
request parameter in a subsequent call to the operation to get the next part
of the output. You should repeat this until the NextToken
response element comes back as
null
. This indicates that this is the last page of results.
NextToken
request parameter in a subsequent call to the operation to
get the next part of the output. You should repeat this until the NextToken
response element
comes back as null
. This indicates that this is the last page of results.public ListResourceTypesResult withNextToken(String nextToken)
If present, this value indicates that more output is available than is included in the current response. Use this
value in the NextToken
request parameter in a subsequent call to the operation to get the next part
of the output. You should repeat this until the NextToken
response element comes back as
null
. This indicates that this is the last page of results.
nextToken
- If present, this value indicates that more output is available than is included in the current response.
Use this value in the NextToken
request parameter in a subsequent call to the operation to
get the next part of the output. You should repeat this until the NextToken
response element
comes back as null
. This indicates that this is the last page of results.public String toString()
toString
in class Object
Object.toString()
public ListResourceTypesResult clone()