@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetSlotTypesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetSlotTypesResult() |
Modifier and Type | Method and Description |
---|---|
GetSlotTypesResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
If the response is truncated, it includes a pagination token that you can specify in your next request to fetch
the next page of slot types.
|
List<SlotTypeMetadata> |
getSlotTypes()
An array of objects, one for each slot type, that provides information such as the name of the slot type, the
version, and a description.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
If the response is truncated, it includes a pagination token that you can specify in your next request to fetch
the next page of slot types.
|
void |
setSlotTypes(Collection<SlotTypeMetadata> slotTypes)
An array of objects, one for each slot type, that provides information such as the name of the slot type, the
version, and a description.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
GetSlotTypesResult |
withNextToken(String nextToken)
If the response is truncated, it includes a pagination token that you can specify in your next request to fetch
the next page of slot types.
|
GetSlotTypesResult |
withSlotTypes(Collection<SlotTypeMetadata> slotTypes)
An array of objects, one for each slot type, that provides information such as the name of the slot type, the
version, and a description.
|
GetSlotTypesResult |
withSlotTypes(SlotTypeMetadata... slotTypes)
An array of objects, one for each slot type, that provides information such as the name of the slot type, the
version, and a description.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<SlotTypeMetadata> getSlotTypes()
An array of objects, one for each slot type, that provides information such as the name of the slot type, the version, and a description.
public void setSlotTypes(Collection<SlotTypeMetadata> slotTypes)
An array of objects, one for each slot type, that provides information such as the name of the slot type, the version, and a description.
slotTypes
- An array of objects, one for each slot type, that provides information such as the name of the slot type,
the version, and a description.public GetSlotTypesResult withSlotTypes(SlotTypeMetadata... slotTypes)
An array of objects, one for each slot type, that provides information such as the name of the slot type, the version, and a description.
NOTE: This method appends the values to the existing list (if any). Use
setSlotTypes(java.util.Collection)
or withSlotTypes(java.util.Collection)
if you want to
override the existing values.
slotTypes
- An array of objects, one for each slot type, that provides information such as the name of the slot type,
the version, and a description.public GetSlotTypesResult withSlotTypes(Collection<SlotTypeMetadata> slotTypes)
An array of objects, one for each slot type, that provides information such as the name of the slot type, the version, and a description.
slotTypes
- An array of objects, one for each slot type, that provides information such as the name of the slot type,
the version, and a description.public void setNextToken(String nextToken)
If the response is truncated, it includes a pagination token that you can specify in your next request to fetch the next page of slot types.
nextToken
- If the response is truncated, it includes a pagination token that you can specify in your next request to
fetch the next page of slot types.public String getNextToken()
If the response is truncated, it includes a pagination token that you can specify in your next request to fetch the next page of slot types.
public GetSlotTypesResult withNextToken(String nextToken)
If the response is truncated, it includes a pagination token that you can specify in your next request to fetch the next page of slot types.
nextToken
- If the response is truncated, it includes a pagination token that you can specify in your next request to
fetch the next page of slot types.public String toString()
toString
in class Object
Object.toString()
public GetSlotTypesResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.