Interface Button.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<Button.Builder,,- Button> - SdkBuilder<Button.Builder,,- Button> - SdkPojo
- Enclosing class:
- Button
@Mutable
@NotThreadSafe
public static interface Button.Builder
extends SdkPojo, CopyableBuilder<Button.Builder,Button> 
- 
Method SummaryModifier and TypeMethodDescriptionThe text that appears on the button.The value returned to Amazon Lex when the user chooses this button.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
textThe text that appears on the button. Use this to tell the user what value is returned when they choose this button. - Parameters:
- text- The text that appears on the button. Use this to tell the user what value is returned when they choose this button.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
valueThe value returned to Amazon Lex when the user chooses this button. This must be one of the slot values configured for the slot. - Parameters:
- value- The value returned to Amazon Lex when the user chooses this button. This must be one of the slot values configured for the slot.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
 
-