@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListTargetResourceTypesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListTargetResourceTypesResult() |
Modifier and Type | Method and Description |
---|---|
ListTargetResourceTypesResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
The token to use to retrieve the next page of results.
|
List<TargetResourceTypeSummary> |
getTargetResourceTypes()
The target resource types.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
The token to use to retrieve the next page of results.
|
void |
setTargetResourceTypes(Collection<TargetResourceTypeSummary> targetResourceTypes)
The target resource types.
|
String |
toString()
Returns a string representation of this object.
|
ListTargetResourceTypesResult |
withNextToken(String nextToken)
The token to use to retrieve the next page of results.
|
ListTargetResourceTypesResult |
withTargetResourceTypes(Collection<TargetResourceTypeSummary> targetResourceTypes)
The target resource types.
|
ListTargetResourceTypesResult |
withTargetResourceTypes(TargetResourceTypeSummary... targetResourceTypes)
The target resource types.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<TargetResourceTypeSummary> getTargetResourceTypes()
The target resource types.
public void setTargetResourceTypes(Collection<TargetResourceTypeSummary> targetResourceTypes)
The target resource types.
targetResourceTypes
- The target resource types.public ListTargetResourceTypesResult withTargetResourceTypes(TargetResourceTypeSummary... targetResourceTypes)
The target resource types.
NOTE: This method appends the values to the existing list (if any). Use
setTargetResourceTypes(java.util.Collection)
or withTargetResourceTypes(java.util.Collection)
if you want to override the existing values.
targetResourceTypes
- The target resource types.public ListTargetResourceTypesResult withTargetResourceTypes(Collection<TargetResourceTypeSummary> targetResourceTypes)
The target resource types.
targetResourceTypes
- The target resource types.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 ListTargetResourceTypesResult 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 ListTargetResourceTypesResult clone()