Class DescribeSlotResponse
- java.lang.Object
-
- software.amazon.awssdk.core.SdkResponse
-
- software.amazon.awssdk.awscore.AwsResponse
-
- software.amazon.awssdk.services.lexmodelsv2.model.LexModelsV2Response
-
- software.amazon.awssdk.services.lexmodelsv2.model.DescribeSlotResponse
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<DescribeSlotResponse.Builder,DescribeSlotResponse>
@Generated("software.amazon.awssdk:codegen") public final class DescribeSlotResponse extends LexModelsV2Response implements ToCopyableBuilder<DescribeSlotResponse.Builder,DescribeSlotResponse>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDescribeSlotResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringbotId()The identifier of the bot associated with the slot.StringbotVersion()The version of the bot associated with the slot.static DescribeSlotResponse.Builderbuilder()InstantcreationDateTime()A timestamp of the date and time that the slot was created.Stringdescription()The description specified for the slot.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringintentId()The identifier of the intent associated with the slot.InstantlastUpdatedDateTime()A timestamp of the date and time that the slot was last updated.StringlocaleId()The language and locale specified for the slot.MultipleValuesSettingmultipleValuesSetting()Indicates whether the slot accepts multiple values in a single utterance.ObfuscationSettingobfuscationSetting()Whether slot values are shown in Amazon CloudWatch logs.List<SdkField<?>>sdkFields()static Class<? extends DescribeSlotResponse.Builder>serializableBuilderClass()StringslotId()The unique identifier generated for the slot.StringslotName()The name specified for the slot.StringslotTypeId()The identifier of the slot type that determines the values entered into the slot.SubSlotSettingsubSlotSetting()Specifications for the constituent sub slots and the expression for the composite slot.DescribeSlotResponse.BuildertoBuilder()StringtoString()Returns a string representation of this object.SlotValueElicitationSettingvalueElicitationSetting()Prompts that Amazon Lex uses to elicit a value for the slot.-
Methods inherited from class software.amazon.awssdk.services.lexmodelsv2.model.LexModelsV2Response
responseMetadata
-
Methods inherited from class software.amazon.awssdk.core.SdkResponse
sdkHttpResponse
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
slotId
public final String slotId()
The unique identifier generated for the slot.
- Returns:
- The unique identifier generated for the slot.
-
slotName
public final String slotName()
The name specified for the slot.
- Returns:
- The name specified for the slot.
-
description
public final String description()
The description specified for the slot.
- Returns:
- The description specified for the slot.
-
slotTypeId
public final String slotTypeId()
The identifier of the slot type that determines the values entered into the slot.
- Returns:
- The identifier of the slot type that determines the values entered into the slot.
-
valueElicitationSetting
public final SlotValueElicitationSetting valueElicitationSetting()
Prompts that Amazon Lex uses to elicit a value for the slot.
- Returns:
- Prompts that Amazon Lex uses to elicit a value for the slot.
-
obfuscationSetting
public final ObfuscationSetting obfuscationSetting()
Whether slot values are shown in Amazon CloudWatch logs. If the value is
None, the actual value of the slot is shown in logs.- Returns:
- Whether slot values are shown in Amazon CloudWatch logs. If the value is
None, the actual value of the slot is shown in logs.
-
botId
public final String botId()
The identifier of the bot associated with the slot.
- Returns:
- The identifier of the bot associated with the slot.
-
botVersion
public final String botVersion()
The version of the bot associated with the slot.
- Returns:
- The version of the bot associated with the slot.
-
localeId
public final String localeId()
The language and locale specified for the slot.
- Returns:
- The language and locale specified for the slot.
-
intentId
public final String intentId()
The identifier of the intent associated with the slot.
- Returns:
- The identifier of the intent associated with the slot.
-
creationDateTime
public final Instant creationDateTime()
A timestamp of the date and time that the slot was created.
- Returns:
- A timestamp of the date and time that the slot was created.
-
lastUpdatedDateTime
public final Instant lastUpdatedDateTime()
A timestamp of the date and time that the slot was last updated.
- Returns:
- A timestamp of the date and time that the slot was last updated.
-
multipleValuesSetting
public final MultipleValuesSetting multipleValuesSetting()
Indicates whether the slot accepts multiple values in a single utterance.
If the
multipleValuesSettingis not set, the default value isfalse.- Returns:
- Indicates whether the slot accepts multiple values in a single utterance.
If the
multipleValuesSettingis not set, the default value isfalse.
-
subSlotSetting
public final SubSlotSetting subSlotSetting()
Specifications for the constituent sub slots and the expression for the composite slot.
- Returns:
- Specifications for the constituent sub slots and the expression for the composite slot.
-
toBuilder
public DescribeSlotResponse.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<DescribeSlotResponse.Builder,DescribeSlotResponse>- Specified by:
toBuilderin classAwsResponse
-
builder
public static DescribeSlotResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends DescribeSlotResponse.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsResponse
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsResponse
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkResponse
-
-