@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListTypesByAssociationResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListTypesByAssociationResult() |
Modifier and Type | Method and Description |
---|---|
ListTypesByAssociationResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
An identifier that was returned from the previous call to this operation, which you can use to return the next
set of items in the list.
|
List<Type> |
getTypes()
The
Type objects. |
int |
hashCode() |
void |
setNextToken(String nextToken)
An identifier that was returned from the previous call to this operation, which you can use 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.
|
ListTypesByAssociationResult |
withNextToken(String nextToken)
An identifier that was returned from the previous call to this operation, which you can use to return the next
set of items in the list.
|
ListTypesByAssociationResult |
withTypes(Collection<Type> types)
The
Type objects. |
ListTypesByAssociationResult |
withTypes(Type... types)
The
Type objects. |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setTypes(Collection<Type> types)
The Type
objects.
types
- The Type
objects.public ListTypesByAssociationResult 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 ListTypesByAssociationResult withTypes(Collection<Type> types)
The Type
objects.
types
- The Type
objects.public void setNextToken(String nextToken)
An identifier that was returned from the previous call to this operation, which you can use to return the next set of items in the list.
nextToken
- An identifier that was returned from the previous call to this operation, which you can use to return the
next set of items in the list.public String getNextToken()
An identifier that was returned from the previous call to this operation, which you can use to return the next set of items in the list.
public ListTypesByAssociationResult withNextToken(String nextToken)
An identifier that was returned from the previous call to this operation, which you can use to return the next set of items in the list.
nextToken
- An identifier that was returned from the previous call to this operation, which you can use to return the
next set of items in the list.public String toString()
toString
in class Object
Object.toString()
public ListTypesByAssociationResult clone()