@Generated(value="software.amazon.awssdk:codegen") public final class Button extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Button.Builder,Button>
Represents an option to be shown on the client platform (Facebook, Slack, etc.)
| Modifier and Type | Class and Description |
|---|---|
static interface |
Button.Builder |
| Modifier and Type | Method and Description |
|---|---|
static Button.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends Button.Builder> |
serializableBuilderClass() |
String |
text()
Text that is visible to the user on the button.
|
Button.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
value()
The value sent to Amazon Lex when a user chooses the button.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String text()
Text that is visible to the user on the button.
public final String value()
The value sent to Amazon Lex when a user chooses the button. For example, consider button text "NYC." When the user chooses the button, the value sent can be "New York City."
public Button.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Button.Builder,Button>public static Button.Builder builder()
public static Class<? extends Button.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.