@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListTypesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListTypesResult() |
Modifier and Type | Method and Description |
---|---|
ListTypesResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
If the request doesn't return all of the remaining results,
NextToken is set to a token. |
List<TypeSummary> |
getTypeSummaries()
A list of
TypeSummary structures that contain information about the specified types. |
int |
hashCode() |
void |
setNextToken(String nextToken)
If the request doesn't return all of the remaining results,
NextToken is set to a token. |
void |
setTypeSummaries(Collection<TypeSummary> typeSummaries)
A list of
TypeSummary structures that contain information about the specified types. |
String |
toString()
Returns a string representation of this object.
|
ListTypesResult |
withNextToken(String nextToken)
If the request doesn't return all of the remaining results,
NextToken is set to a token. |
ListTypesResult |
withTypeSummaries(Collection<TypeSummary> typeSummaries)
A list of
TypeSummary structures that contain information about the specified types. |
ListTypesResult |
withTypeSummaries(TypeSummary... typeSummaries)
A list of
TypeSummary structures that contain information about the specified types. |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<TypeSummary> getTypeSummaries()
A list of TypeSummary
structures that contain information about the specified types.
TypeSummary
structures that contain information about the specified types.public void setTypeSummaries(Collection<TypeSummary> typeSummaries)
A list of TypeSummary
structures that contain information about the specified types.
typeSummaries
- A list of TypeSummary
structures that contain information about the specified types.public ListTypesResult withTypeSummaries(TypeSummary... typeSummaries)
A list of TypeSummary
structures that contain information about the specified types.
NOTE: This method appends the values to the existing list (if any). Use
setTypeSummaries(java.util.Collection)
or withTypeSummaries(java.util.Collection)
if you want
to override the existing values.
typeSummaries
- A list of TypeSummary
structures that contain information about the specified types.public ListTypesResult withTypeSummaries(Collection<TypeSummary> typeSummaries)
A list of TypeSummary
structures that contain information about the specified types.
typeSummaries
- A list of TypeSummary
structures that contain information about the specified types.public void setNextToken(String nextToken)
If the request doesn't return all of the remaining results, NextToken
is set to a token. To retrieve
the next set of results, call this action again and assign that token to the request object's
NextToken
parameter. If the request returns all results, NextToken
is set to
null
.
nextToken
- If the request doesn't return all of the remaining results, NextToken
is set to a token. To
retrieve the next set of results, call this action again and assign that token to the request object's
NextToken
parameter. If the request returns all results, NextToken
is set to
null
.public String getNextToken()
If the request doesn't return all of the remaining results, NextToken
is set to a token. To retrieve
the next set of results, call this action again and assign that token to the request object's
NextToken
parameter. If the request returns all results, NextToken
is set to
null
.
NextToken
is set to a token. To
retrieve the next set of results, call this action again and assign that token to the request object's
NextToken
parameter. If the request returns all results, NextToken
is set to
null
.public ListTypesResult withNextToken(String nextToken)
If the request doesn't return all of the remaining results, NextToken
is set to a token. To retrieve
the next set of results, call this action again and assign that token to the request object's
NextToken
parameter. If the request returns all results, NextToken
is set to
null
.
nextToken
- If the request doesn't return all of the remaining results, NextToken
is set to a token. To
retrieve the next set of results, call this action again and assign that token to the request object's
NextToken
parameter. If the request returns all results, NextToken
is set to
null
.public String toString()
toString
in class Object
Object.toString()
public ListTypesResult clone()