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 Summary
Modifier and TypeMethodDescriptionThe text that is displayed on the button.The value returned to Amazon Lex V2 when a user chooses the button.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
text
The text that is displayed on the button.
- Parameters:
text
- The text that is displayed on the button.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
value
The value returned to Amazon Lex V2 when a user chooses the button.
- Parameters:
value
- The value returned to Amazon Lex V2 when a user chooses the button.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-