@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListSlotsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListSlotsResult() |
Modifier and Type | Method and Description |
---|---|
ListSlotsResult |
clone() |
boolean |
equals(Object obj) |
String |
getBotId()
The identifier of the bot that contains the slots.
|
String |
getBotVersion()
The version of the bot that contains the slots.
|
String |
getIntentId()
The identifier of the intent that contains the slots.
|
String |
getLocaleId()
The language and locale of the slots in the list.
|
String |
getNextToken()
A token that indicates whether there are more results to return in a response to the
ListSlots
operation. |
List<SlotSummary> |
getSlotSummaries()
Summary information for the slots that meet the filter criteria specified in the request.
|
int |
hashCode() |
void |
setBotId(String botId)
The identifier of the bot that contains the slots.
|
void |
setBotVersion(String botVersion)
The version of the bot that contains the slots.
|
void |
setIntentId(String intentId)
The identifier of the intent that contains the slots.
|
void |
setLocaleId(String localeId)
The language and locale of the slots in the list.
|
void |
setNextToken(String nextToken)
A token that indicates whether there are more results to return in a response to the
ListSlots
operation. |
void |
setSlotSummaries(Collection<SlotSummary> slotSummaries)
Summary information for the slots that meet the filter criteria specified in the request.
|
String |
toString()
Returns a string representation of this object.
|
ListSlotsResult |
withBotId(String botId)
The identifier of the bot that contains the slots.
|
ListSlotsResult |
withBotVersion(String botVersion)
The version of the bot that contains the slots.
|
ListSlotsResult |
withIntentId(String intentId)
The identifier of the intent that contains the slots.
|
ListSlotsResult |
withLocaleId(String localeId)
The language and locale of the slots in the list.
|
ListSlotsResult |
withNextToken(String nextToken)
A token that indicates whether there are more results to return in a response to the
ListSlots
operation. |
ListSlotsResult |
withSlotSummaries(Collection<SlotSummary> slotSummaries)
Summary information for the slots that meet the filter criteria specified in the request.
|
ListSlotsResult |
withSlotSummaries(SlotSummary... slotSummaries)
Summary information for the slots that meet the filter criteria specified in the request.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setBotId(String botId)
The identifier of the bot that contains the slots.
botId
- The identifier of the bot that contains the slots.public String getBotId()
The identifier of the bot that contains the slots.
public ListSlotsResult withBotId(String botId)
The identifier of the bot that contains the slots.
botId
- The identifier of the bot that contains the slots.public void setBotVersion(String botVersion)
The version of the bot that contains the slots.
botVersion
- The version of the bot that contains the slots.public String getBotVersion()
The version of the bot that contains the slots.
public ListSlotsResult withBotVersion(String botVersion)
The version of the bot that contains the slots.
botVersion
- The version of the bot that contains the slots.public void setLocaleId(String localeId)
The language and locale of the slots in the list.
localeId
- The language and locale of the slots in the list.public String getLocaleId()
The language and locale of the slots in the list.
public ListSlotsResult withLocaleId(String localeId)
The language and locale of the slots in the list.
localeId
- The language and locale of the slots in the list.public void setIntentId(String intentId)
The identifier of the intent that contains the slots.
intentId
- The identifier of the intent that contains the slots.public String getIntentId()
The identifier of the intent that contains the slots.
public ListSlotsResult withIntentId(String intentId)
The identifier of the intent that contains the slots.
intentId
- The identifier of the intent that contains the slots.public List<SlotSummary> getSlotSummaries()
Summary information for the slots that meet the filter criteria specified in the request. The length of the list
is specified in the maxResults
parameter of the request. If there are more slots available, the
nextToken
field contains a token to get the next page of results.
maxResults
parameter of the request. If there are more slots
available, the nextToken
field contains a token to get the next page of results.public void setSlotSummaries(Collection<SlotSummary> slotSummaries)
Summary information for the slots that meet the filter criteria specified in the request. The length of the list
is specified in the maxResults
parameter of the request. If there are more slots available, the
nextToken
field contains a token to get the next page of results.
slotSummaries
- Summary information for the slots that meet the filter criteria specified in the request. The length of
the list is specified in the maxResults
parameter of the request. If there are more slots
available, the nextToken
field contains a token to get the next page of results.public ListSlotsResult withSlotSummaries(SlotSummary... slotSummaries)
Summary information for the slots that meet the filter criteria specified in the request. The length of the list
is specified in the maxResults
parameter of the request. If there are more slots available, the
nextToken
field contains a token to get the next page of results.
NOTE: This method appends the values to the existing list (if any). Use
setSlotSummaries(java.util.Collection)
or withSlotSummaries(java.util.Collection)
if you want
to override the existing values.
slotSummaries
- Summary information for the slots that meet the filter criteria specified in the request. The length of
the list is specified in the maxResults
parameter of the request. If there are more slots
available, the nextToken
field contains a token to get the next page of results.public ListSlotsResult withSlotSummaries(Collection<SlotSummary> slotSummaries)
Summary information for the slots that meet the filter criteria specified in the request. The length of the list
is specified in the maxResults
parameter of the request. If there are more slots available, the
nextToken
field contains a token to get the next page of results.
slotSummaries
- Summary information for the slots that meet the filter criteria specified in the request. The length of
the list is specified in the maxResults
parameter of the request. If there are more slots
available, the nextToken
field contains a token to get the next page of results.public void setNextToken(String nextToken)
A token that indicates whether there are more results to return in a response to the ListSlots
operation. If the nextToken
field is present, you send the contents as the nextToken
parameter of a ListSlots
operation request to get the next page of results.
nextToken
- A token that indicates whether there are more results to return in a response to the
ListSlots
operation. If the nextToken
field is present, you send the contents as
the nextToken
parameter of a ListSlots
operation request to get the next page of
results.public String getNextToken()
A token that indicates whether there are more results to return in a response to the ListSlots
operation. If the nextToken
field is present, you send the contents as the nextToken
parameter of a ListSlots
operation request to get the next page of results.
ListSlots
operation. If the nextToken
field is present, you send the contents
as the nextToken
parameter of a ListSlots
operation request to get the next
page of results.public ListSlotsResult withNextToken(String nextToken)
A token that indicates whether there are more results to return in a response to the ListSlots
operation. If the nextToken
field is present, you send the contents as the nextToken
parameter of a ListSlots
operation request to get the next page of results.
nextToken
- A token that indicates whether there are more results to return in a response to the
ListSlots
operation. If the nextToken
field is present, you send the contents as
the nextToken
parameter of a ListSlots
operation request to get the next page of
results.public String toString()
toString
in class Object
Object.toString()
public ListSlotsResult clone()