Class DefaultButtonConfiguration
- java.lang.Object
-
- software.amazon.awssdk.services.pinpoint.model.DefaultButtonConfiguration
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<DefaultButtonConfiguration.Builder,DefaultButtonConfiguration>
@Generated("software.amazon.awssdk:codegen") public final class DefaultButtonConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DefaultButtonConfiguration.Builder,DefaultButtonConfiguration>
Default button configuration.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDefaultButtonConfiguration.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringbackgroundColor()The background color of the button.IntegerborderRadius()The border radius of the button.static DefaultButtonConfiguration.Builderbuilder()ButtonActionbuttonAction()Action triggered by the button.StringbuttonActionAsString()Action triggered by the button.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringlink()Button destination.List<SdkField<?>>sdkFields()static Class<? extends DefaultButtonConfiguration.Builder>serializableBuilderClass()Stringtext()Button text.StringtextColor()The text color of the button.DefaultButtonConfiguration.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
backgroundColor
public final String backgroundColor()
The background color of the button.
- Returns:
- The background color of the button.
-
borderRadius
public final Integer borderRadius()
The border radius of the button.
- Returns:
- The border radius of the button.
-
buttonAction
public final ButtonAction buttonAction()
Action triggered by the button.
If the service returns an enum value that is not available in the current SDK version,
buttonActionwill returnButtonAction.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frombuttonActionAsString().- Returns:
- Action triggered by the button.
- See Also:
ButtonAction
-
buttonActionAsString
public final String buttonActionAsString()
Action triggered by the button.
If the service returns an enum value that is not available in the current SDK version,
buttonActionwill returnButtonAction.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frombuttonActionAsString().- Returns:
- Action triggered by the button.
- See Also:
ButtonAction
-
link
public final String link()
Button destination.
- Returns:
- Button destination.
-
text
public final String text()
Button text.
- Returns:
- Button text.
-
textColor
public final String textColor()
The text color of the button.
- Returns:
- The text color of the button.
-
toBuilder
public DefaultButtonConfiguration.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<DefaultButtonConfiguration.Builder,DefaultButtonConfiguration>
-
builder
public static DefaultButtonConfiguration.Builder builder()
-
serializableBuilderClass
public static Class<? extends DefaultButtonConfiguration.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-