@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetSlotTypeVersionsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetSlotTypeVersionsResult() |
Modifier and Type | Method and Description |
---|---|
GetSlotTypeVersionsResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
A pagination token for fetching the next page of slot type versions.
|
List<SlotTypeMetadata> |
getSlotTypes()
An array of
SlotTypeMetadata objects, one for each numbered version of the slot type plus one for
the $LATEST version. |
int |
hashCode() |
void |
setNextToken(String nextToken)
A pagination token for fetching the next page of slot type versions.
|
void |
setSlotTypes(Collection<SlotTypeMetadata> slotTypes)
An array of
SlotTypeMetadata objects, one for each numbered version of the slot type plus one for
the $LATEST version. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
GetSlotTypeVersionsResult |
withNextToken(String nextToken)
A pagination token for fetching the next page of slot type versions.
|
GetSlotTypeVersionsResult |
withSlotTypes(Collection<SlotTypeMetadata> slotTypes)
An array of
SlotTypeMetadata objects, one for each numbered version of the slot type plus one for
the $LATEST version. |
GetSlotTypeVersionsResult |
withSlotTypes(SlotTypeMetadata... slotTypes)
An array of
SlotTypeMetadata objects, one for each numbered version of the slot type plus one for
the $LATEST version. |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<SlotTypeMetadata> getSlotTypes()
An array of SlotTypeMetadata
objects, one for each numbered version of the slot type plus one for
the $LATEST
version.
SlotTypeMetadata
objects, one for each numbered version of the slot type plus
one for the $LATEST
version.public void setSlotTypes(Collection<SlotTypeMetadata> slotTypes)
An array of SlotTypeMetadata
objects, one for each numbered version of the slot type plus one for
the $LATEST
version.
slotTypes
- An array of SlotTypeMetadata
objects, one for each numbered version of the slot type plus one
for the $LATEST
version.public GetSlotTypeVersionsResult withSlotTypes(SlotTypeMetadata... slotTypes)
An array of SlotTypeMetadata
objects, one for each numbered version of the slot type plus one for
the $LATEST
version.
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 SlotTypeMetadata
objects, one for each numbered version of the slot type plus one
for the $LATEST
version.public GetSlotTypeVersionsResult withSlotTypes(Collection<SlotTypeMetadata> slotTypes)
An array of SlotTypeMetadata
objects, one for each numbered version of the slot type plus one for
the $LATEST
version.
slotTypes
- An array of SlotTypeMetadata
objects, one for each numbered version of the slot type plus one
for the $LATEST
version.public void setNextToken(String nextToken)
A pagination token for fetching the next page of slot type versions. If the response to this call is truncated, Amazon Lex returns a pagination token in the response. To fetch the next page of versions, specify the pagination token in the next request.
nextToken
- A pagination token for fetching the next page of slot type versions. If the response to this call is
truncated, Amazon Lex returns a pagination token in the response. To fetch the next page of versions,
specify the pagination token in the next request.public String getNextToken()
A pagination token for fetching the next page of slot type versions. If the response to this call is truncated, Amazon Lex returns a pagination token in the response. To fetch the next page of versions, specify the pagination token in the next request.
public GetSlotTypeVersionsResult withNextToken(String nextToken)
A pagination token for fetching the next page of slot type versions. If the response to this call is truncated, Amazon Lex returns a pagination token in the response. To fetch the next page of versions, specify the pagination token in the next request.
nextToken
- A pagination token for fetching the next page of slot type versions. If the response to this call is
truncated, Amazon Lex returns a pagination token in the response. To fetch the next page of versions,
specify the pagination token in the next request.public String toString()
toString
in class Object
Object.toString()
public GetSlotTypeVersionsResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.