@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()
An identifier to pass in the next request to this operation to return the next set of items in the list.
|
List<Type> |
getTypes()
The
Type objects. |
int |
hashCode() |
void |
setNextToken(String nextToken)
An identifier to pass in the next request to this operation to return the next set of items in the list.
|
void |
setTypes(Collection<Type> types)
The
Type objects. |
String |
toString()
Returns a string representation of this object.
|
ListTypesResult |
withNextToken(String nextToken)
An identifier to pass in the next request to this operation to return the next set of items in the list.
|
ListTypesResult |
withTypes(Collection<Type> types)
The
Type objects. |
ListTypesResult |
withTypes(Type... types)
The
Type objects. |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setTypes(Collection<Type> types)
The Type
objects.
types
- The Type
objects.public ListTypesResult withTypes(Type... types)
The Type
objects.
NOTE: This method appends the values to the existing list (if any). Use
setTypes(java.util.Collection)
or withTypes(java.util.Collection)
if you want to override the
existing values.
types
- The Type
objects.public ListTypesResult withTypes(Collection<Type> types)
The Type
objects.
types
- The Type
objects.public void setNextToken(String nextToken)
An identifier to pass in the next request to this operation to return the next set of items in the list.
nextToken
- An identifier to pass in the next request to this operation to return the next set of items in the list.public String getNextToken()
An identifier to pass in the next request to this operation to return the next set of items in the list.
public ListTypesResult withNextToken(String nextToken)
An identifier to pass in the next request to this operation to return the next set of items in the list.
nextToken
- An identifier to pass in the next request to this operation to return the next set of items in the list.public String toString()
toString
in class Object
Object.toString()
public ListTypesResult clone()