@Generated(value="software.amazon.awssdk:codegen") public final class ListSlotsRequest extends LexModelsV2Request implements ToCopyableBuilder<ListSlotsRequest.Builder,ListSlotsRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
ListSlotsRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
botId()
The identifier of the bot that contains the slot.
|
String |
botVersion()
The version of the bot that contains the slot.
|
static ListSlotsRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
List<SlotFilter> |
filters()
Provides the specification of a filter used to limit the slots in the response to only those that match the
filter specification.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasFilters()
Returns true if the Filters property was specified by the sender (it may be empty), or false if the sender did
not specify the value (it will be empty).
|
int |
hashCode() |
String |
intentId()
The unique identifier of the intent that contains the slot.
|
String |
localeId()
The identifier of the language and locale of the slots to list.
|
Integer |
maxResults()
The maximum number of slots to return in each page of results.
|
String |
nextToken()
If the response from the
ListSlots operation contains more results than specified in the
maxResults parameter, a token is returned in the response. |
List<SdkField<?>> |
sdkFields() |
static Class<? extends ListSlotsRequest.Builder> |
serializableBuilderClass() |
SlotSortBy |
sortBy()
Determines the sort order for the response from the
ListSlots operation. |
ListSlotsRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String botId()
The identifier of the bot that contains the slot.
public final String botVersion()
The version of the bot that contains the slot.
public final String localeId()
The identifier of the language and locale of the slots to list. The string must match one of the supported locales. For more information, see Supported languages.
public final String intentId()
The unique identifier of the intent that contains the slot.
public final SlotSortBy sortBy()
Determines the sort order for the response from the ListSlots operation. You can choose to sort by
the slot name or last updated date in either ascending or descending order.
ListSlots operation. You can choose to
sort by the slot name or last updated date in either ascending or descending order.public final boolean hasFilters()
public final List<SlotFilter> filters()
Provides the specification of a filter used to limit the slots in the response to only those that match the filter specification. You can only specify one filter and only one string to filter on.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasFilters() to see if a value was sent in this field.
public final Integer maxResults()
The maximum number of slots to return in each page of results. If there are fewer results than the max page size, only the actual number of results are returned.
public final String nextToken()
If the response from the ListSlots operation contains more results than specified in the
maxResults parameter, a token is returned in the response. Use that token in the
nextToken parameter to return the next page of results.
ListSlots operation contains more results than specified in the
maxResults parameter, a token is returned in the response. Use that token in the
nextToken parameter to return the next page of results.public ListSlotsRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ListSlotsRequest.Builder,ListSlotsRequest>toBuilder in class LexModelsV2Requestpublic static ListSlotsRequest.Builder builder()
public static Class<? extends ListSlotsRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2021. All rights reserved.