Interface CreateSlotResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CreateSlotResponse.Builder,CreateSlotResponse>,LexModelsV2Response.Builder,SdkBuilder<CreateSlotResponse.Builder,CreateSlotResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- CreateSlotResponse
public static interface CreateSlotResponse.Builder extends LexModelsV2Response.Builder, SdkPojo, CopyableBuilder<CreateSlotResponse.Builder,CreateSlotResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CreateSlotResponse.BuilderbotId(String botId)The unique identifier of the bot associated with the slot.CreateSlotResponse.BuilderbotVersion(String botVersion)The version of the bot associated with the slot.CreateSlotResponse.BuildercreationDateTime(Instant creationDateTime)The timestamp of the date and time that the slot was created.CreateSlotResponse.Builderdescription(String description)The description associated with the slot.CreateSlotResponse.BuilderintentId(String intentId)The unique identifier of the intent associated with the slot.CreateSlotResponse.BuilderlocaleId(String localeId)The language and local specified for the slot.default CreateSlotResponse.BuildermultipleValuesSetting(Consumer<MultipleValuesSetting.Builder> multipleValuesSetting)Indicates whether the slot returns multiple values in one response.CreateSlotResponse.BuildermultipleValuesSetting(MultipleValuesSetting multipleValuesSetting)Indicates whether the slot returns multiple values in one response.default CreateSlotResponse.BuilderobfuscationSetting(Consumer<ObfuscationSetting.Builder> obfuscationSetting)Indicates whether the slot is configured to obfuscate values in Amazon CloudWatch logs.CreateSlotResponse.BuilderobfuscationSetting(ObfuscationSetting obfuscationSetting)Indicates whether the slot is configured to obfuscate values in Amazon CloudWatch logs.CreateSlotResponse.BuilderslotId(String slotId)The unique identifier associated with the slot.CreateSlotResponse.BuilderslotName(String slotName)The name specified for the slot.CreateSlotResponse.BuilderslotTypeId(String slotTypeId)The unique identifier of the slot type associated with this slot.default CreateSlotResponse.BuildersubSlotSetting(Consumer<SubSlotSetting.Builder> subSlotSetting)Specifications for the constituent sub slots and the expression for the composite slot.CreateSlotResponse.BuildersubSlotSetting(SubSlotSetting subSlotSetting)Specifications for the constituent sub slots and the expression for the composite slot.default CreateSlotResponse.BuildervalueElicitationSetting(Consumer<SlotValueElicitationSetting.Builder> valueElicitationSetting)The value elicitation settings specified for the slot.CreateSlotResponse.BuildervalueElicitationSetting(SlotValueElicitationSetting valueElicitationSetting)The value elicitation settings specified for the slot.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.lexmodelsv2.model.LexModelsV2Response.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
slotId
CreateSlotResponse.Builder slotId(String slotId)
The unique identifier associated with the slot. Use this to identify the slot when you update or delete it.
- Parameters:
slotId- The unique identifier associated with the slot. Use this to identify the slot when you update or delete it.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
slotName
CreateSlotResponse.Builder slotName(String slotName)
The name specified for the slot.
- Parameters:
slotName- The name specified for the slot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
CreateSlotResponse.Builder description(String description)
The description associated with the slot.
- Parameters:
description- The description associated with the slot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
slotTypeId
CreateSlotResponse.Builder slotTypeId(String slotTypeId)
The unique identifier of the slot type associated with this slot.
- Parameters:
slotTypeId- The unique identifier of the slot type associated with this slot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
valueElicitationSetting
CreateSlotResponse.Builder valueElicitationSetting(SlotValueElicitationSetting valueElicitationSetting)
The value elicitation settings specified for the slot.
- Parameters:
valueElicitationSetting- The value elicitation settings specified for the slot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
valueElicitationSetting
default CreateSlotResponse.Builder valueElicitationSetting(Consumer<SlotValueElicitationSetting.Builder> valueElicitationSetting)
The value elicitation settings specified for the slot.
This is a convenience method that creates an instance of theSlotValueElicitationSetting.Builderavoiding the need to create one manually viaSlotValueElicitationSetting.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tovalueElicitationSetting(SlotValueElicitationSetting).- Parameters:
valueElicitationSetting- a consumer that will call methods onSlotValueElicitationSetting.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
valueElicitationSetting(SlotValueElicitationSetting)
-
obfuscationSetting
CreateSlotResponse.Builder obfuscationSetting(ObfuscationSetting obfuscationSetting)
Indicates whether the slot is configured to obfuscate values in Amazon CloudWatch logs.
- Parameters:
obfuscationSetting- Indicates whether the slot is configured to obfuscate values in Amazon CloudWatch logs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
obfuscationSetting
default CreateSlotResponse.Builder obfuscationSetting(Consumer<ObfuscationSetting.Builder> obfuscationSetting)
Indicates whether the slot is configured to obfuscate values in Amazon CloudWatch logs.
This is a convenience method that creates an instance of theObfuscationSetting.Builderavoiding the need to create one manually viaObfuscationSetting.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toobfuscationSetting(ObfuscationSetting).- Parameters:
obfuscationSetting- a consumer that will call methods onObfuscationSetting.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
obfuscationSetting(ObfuscationSetting)
-
botId
CreateSlotResponse.Builder botId(String botId)
The unique identifier of the bot associated with the slot.
- Parameters:
botId- The unique identifier of the bot associated with the slot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
botVersion
CreateSlotResponse.Builder botVersion(String botVersion)
The version of the bot associated with the slot.
- Parameters:
botVersion- The version of the bot associated with the slot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
localeId
CreateSlotResponse.Builder localeId(String localeId)
The language and local specified for the slot.
- Parameters:
localeId- The language and local specified for the slot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
intentId
CreateSlotResponse.Builder intentId(String intentId)
The unique identifier of the intent associated with the slot.
- Parameters:
intentId- The unique identifier of the intent associated with the slot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
creationDateTime
CreateSlotResponse.Builder creationDateTime(Instant creationDateTime)
The timestamp of the date and time that the slot was created.
- Parameters:
creationDateTime- The timestamp of the date and time that the slot was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
multipleValuesSetting
CreateSlotResponse.Builder multipleValuesSetting(MultipleValuesSetting multipleValuesSetting)
Indicates whether the slot returns multiple values in one response.
- Parameters:
multipleValuesSetting- Indicates whether the slot returns multiple values in one response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
multipleValuesSetting
default CreateSlotResponse.Builder multipleValuesSetting(Consumer<MultipleValuesSetting.Builder> multipleValuesSetting)
Indicates whether the slot returns multiple values in one response.
This is a convenience method that creates an instance of theMultipleValuesSetting.Builderavoiding the need to create one manually viaMultipleValuesSetting.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tomultipleValuesSetting(MultipleValuesSetting).- Parameters:
multipleValuesSetting- a consumer that will call methods onMultipleValuesSetting.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
multipleValuesSetting(MultipleValuesSetting)
-
subSlotSetting
CreateSlotResponse.Builder subSlotSetting(SubSlotSetting subSlotSetting)
Specifications for the constituent sub slots and the expression for the composite slot.
- Parameters:
subSlotSetting- Specifications for the constituent sub slots and the expression for the composite slot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subSlotSetting
default CreateSlotResponse.Builder subSlotSetting(Consumer<SubSlotSetting.Builder> subSlotSetting)
Specifications for the constituent sub slots and the expression for the composite slot.
This is a convenience method that creates an instance of theSubSlotSetting.Builderavoiding the need to create one manually viaSubSlotSetting.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosubSlotSetting(SubSlotSetting).- Parameters:
subSlotSetting- a consumer that will call methods onSubSlotSetting.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
subSlotSetting(SubSlotSetting)
-
-