Package com.pulumi.aws.lex.inputs
Class IntentSlotArgs.Builder
- java.lang.Object
-
- com.pulumi.aws.lex.inputs.IntentSlotArgs.Builder
-
- Enclosing class:
- IntentSlotArgs
public static final class IntentSlotArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(IntentSlotArgs defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IntentSlotArgsbuild()IntentSlotArgs.Builderdescription(com.pulumi.core.Output<java.lang.String> description)IntentSlotArgs.Builderdescription(java.lang.String description)IntentSlotArgs.Buildername(com.pulumi.core.Output<java.lang.String> name)IntentSlotArgs.Buildername(java.lang.String name)IntentSlotArgs.Builderpriority(com.pulumi.core.Output<java.lang.Integer> priority)IntentSlotArgs.Builderpriority(java.lang.Integer priority)IntentSlotArgs.BuilderresponseCard(com.pulumi.core.Output<java.lang.String> responseCard)IntentSlotArgs.BuilderresponseCard(java.lang.String responseCard)IntentSlotArgs.BuildersampleUtterances(com.pulumi.core.Output<java.util.List<java.lang.String>> sampleUtterances)IntentSlotArgs.BuildersampleUtterances(java.lang.String... sampleUtterances)IntentSlotArgs.BuildersampleUtterances(java.util.List<java.lang.String> sampleUtterances)IntentSlotArgs.BuilderslotConstraint(com.pulumi.core.Output<java.lang.String> slotConstraint)IntentSlotArgs.BuilderslotConstraint(java.lang.String slotConstraint)IntentSlotArgs.BuilderslotType(com.pulumi.core.Output<java.lang.String> slotType)IntentSlotArgs.BuilderslotType(java.lang.String slotType)IntentSlotArgs.BuilderslotTypeVersion(com.pulumi.core.Output<java.lang.String> slotTypeVersion)IntentSlotArgs.BuilderslotTypeVersion(java.lang.String slotTypeVersion)IntentSlotArgs.BuildervalueElicitationPrompt(IntentSlotValueElicitationPromptArgs valueElicitationPrompt)IntentSlotArgs.BuildervalueElicitationPrompt(com.pulumi.core.Output<IntentSlotValueElicitationPromptArgs> valueElicitationPrompt)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(IntentSlotArgs defaults)
-
-
Method Detail
-
description
public IntentSlotArgs.Builder description(@Nullable com.pulumi.core.Output<java.lang.String> description)
- Parameters:
description- A description of the bot. Must be less than or equal to 200 characters in length.- Returns:
- builder
-
description
public IntentSlotArgs.Builder description(java.lang.String description)
- Parameters:
description- A description of the bot. Must be less than or equal to 200 characters in length.- Returns:
- builder
-
name
public IntentSlotArgs.Builder name(com.pulumi.core.Output<java.lang.String> name)
- Parameters:
name- The name of the intent slot that you want to create. The name is case sensitive. Must be less than or equal to 100 characters in length.- Returns:
- builder
-
name
public IntentSlotArgs.Builder name(java.lang.String name)
- Parameters:
name- The name of the intent slot that you want to create. The name is case sensitive. Must be less than or equal to 100 characters in length.- Returns:
- builder
-
priority
public IntentSlotArgs.Builder priority(@Nullable com.pulumi.core.Output<java.lang.Integer> priority)
- Parameters:
priority- Directs Lex the order in which to elicit this slot value from the user. For example, if the intent has two slots with priorities 1 and 2, AWS Lex first elicits a value for the slot with priority 1. If multiple slots share the same priority, the order in which Lex elicits values is arbitrary. Must be between 1 and 100.- Returns:
- builder
-
priority
public IntentSlotArgs.Builder priority(java.lang.Integer priority)
- Parameters:
priority- Directs Lex the order in which to elicit this slot value from the user. For example, if the intent has two slots with priorities 1 and 2, AWS Lex first elicits a value for the slot with priority 1. If multiple slots share the same priority, the order in which Lex elicits values is arbitrary. Must be between 1 and 100.- Returns:
- builder
-
responseCard
public IntentSlotArgs.Builder responseCard(@Nullable com.pulumi.core.Output<java.lang.String> responseCard)
- Parameters:
responseCard- The response card. Amazon Lex will substitute session attributes and slot values into the response card. For more information, see [Example: Using a Response Card](https://docs.aws.amazon.com/lex/latest/dg/ex-resp-card.html). Must be less than or equal to 50000 characters in length.- Returns:
- builder
-
responseCard
public IntentSlotArgs.Builder responseCard(java.lang.String responseCard)
- Parameters:
responseCard- The response card. Amazon Lex will substitute session attributes and slot values into the response card. For more information, see [Example: Using a Response Card](https://docs.aws.amazon.com/lex/latest/dg/ex-resp-card.html). Must be less than or equal to 50000 characters in length.- Returns:
- builder
-
sampleUtterances
public IntentSlotArgs.Builder sampleUtterances(@Nullable com.pulumi.core.Output<java.util.List<java.lang.String>> sampleUtterances)
- Parameters:
sampleUtterances- If you know a specific pattern with which users might respond to an Amazon Lex request for a slot value, you can provide those utterances to improve accuracy. This is optional. In most cases, Amazon Lex is capable of understanding user utterances. Must have between 1 and 10 items in the list, and each item must be less than or equal to 200 characters in length.- Returns:
- builder
-
sampleUtterances
public IntentSlotArgs.Builder sampleUtterances(java.util.List<java.lang.String> sampleUtterances)
- Parameters:
sampleUtterances- If you know a specific pattern with which users might respond to an Amazon Lex request for a slot value, you can provide those utterances to improve accuracy. This is optional. In most cases, Amazon Lex is capable of understanding user utterances. Must have between 1 and 10 items in the list, and each item must be less than or equal to 200 characters in length.- Returns:
- builder
-
sampleUtterances
public IntentSlotArgs.Builder sampleUtterances(java.lang.String... sampleUtterances)
- Parameters:
sampleUtterances- If you know a specific pattern with which users might respond to an Amazon Lex request for a slot value, you can provide those utterances to improve accuracy. This is optional. In most cases, Amazon Lex is capable of understanding user utterances. Must have between 1 and 10 items in the list, and each item must be less than or equal to 200 characters in length.- Returns:
- builder
-
slotConstraint
public IntentSlotArgs.Builder slotConstraint(com.pulumi.core.Output<java.lang.String> slotConstraint)
- Parameters:
slotConstraint- Specifies whether the slot is required or optional.- Returns:
- builder
-
slotConstraint
public IntentSlotArgs.Builder slotConstraint(java.lang.String slotConstraint)
- Parameters:
slotConstraint- Specifies whether the slot is required or optional.- Returns:
- builder
-
slotType
public IntentSlotArgs.Builder slotType(com.pulumi.core.Output<java.lang.String> slotType)
- Parameters:
slotType- The type of the slot, either a custom slot type that you defined or one of the built-in slot types. Must be less than or equal to 100 characters in length.- Returns:
- builder
-
slotType
public IntentSlotArgs.Builder slotType(java.lang.String slotType)
- Parameters:
slotType- The type of the slot, either a custom slot type that you defined or one of the built-in slot types. Must be less than or equal to 100 characters in length.- Returns:
- builder
-
slotTypeVersion
public IntentSlotArgs.Builder slotTypeVersion(@Nullable com.pulumi.core.Output<java.lang.String> slotTypeVersion)
- Parameters:
slotTypeVersion- The version of the slot type. Must be less than or equal to 64 characters in length.- Returns:
- builder
-
slotTypeVersion
public IntentSlotArgs.Builder slotTypeVersion(java.lang.String slotTypeVersion)
- Parameters:
slotTypeVersion- The version of the slot type. Must be less than or equal to 64 characters in length.- Returns:
- builder
-
valueElicitationPrompt
public IntentSlotArgs.Builder valueElicitationPrompt(@Nullable com.pulumi.core.Output<IntentSlotValueElicitationPromptArgs> valueElicitationPrompt)
- Parameters:
valueElicitationPrompt- The prompt that Amazon Lex uses to elicit the slot value from the user. Attributes are documented under prompt.- Returns:
- builder
-
valueElicitationPrompt
public IntentSlotArgs.Builder valueElicitationPrompt(IntentSlotValueElicitationPromptArgs valueElicitationPrompt)
- Parameters:
valueElicitationPrompt- The prompt that Amazon Lex uses to elicit the slot value from the user. Attributes are documented under prompt.- Returns:
- builder
-
build
public IntentSlotArgs build()
-
-