@Generated(value="software.amazon.awssdk:codegen") public final class FormStyleConfig extends Object implements SdkPojo, Serializable, ToCopyableBuilder<FormStyleConfig.Builder,FormStyleConfig>
Describes the configuration settings for the form's style properties.
| Modifier and Type | Class and Description |
|---|---|
static interface |
FormStyleConfig.Builder |
static class |
FormStyleConfig.Type |
| Modifier and Type | Method and Description |
|---|---|
static FormStyleConfig.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
static FormStyleConfig |
fromTokenReference(String tokenReference)
Create an instance of this class with
tokenReference() initialized to the given value. |
static FormStyleConfig |
fromValue(String value)
Create an instance of this class with
value() initialized to the given value. |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends FormStyleConfig.Builder> |
serializableBuilderClass() |
FormStyleConfig.Builder |
toBuilder() |
String |
tokenReference()
A reference to a design token to use to bind the form's style properties to an existing theme.
|
String |
toString()
Returns a string representation of this object.
|
FormStyleConfig.Type |
type()
Retrieve an enum value representing which member of this object is populated.
|
String |
value()
The value of the style setting.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String tokenReference()
A reference to a design token to use to bind the form's style properties to an existing theme.
public final String value()
The value of the style setting.
public FormStyleConfig.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<FormStyleConfig.Builder,FormStyleConfig>public static FormStyleConfig.Builder builder()
public static Class<? extends FormStyleConfig.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public static FormStyleConfig fromTokenReference(String tokenReference)
tokenReference() initialized to the given value.
A reference to a design token to use to bind the form's style properties to an existing theme.
tokenReference - A reference to a design token to use to bind the form's style properties to an existing theme.public static FormStyleConfig fromValue(String value)
value() initialized to the given value.
The value of the style setting.
value - The value of the style setting.public FormStyleConfig.Type type()
FormStyleConfig.Type.UNKNOWN_TO_SDK_VERSION if the
service returned a member that is only known to a newer SDK version.
When this class is created directly in your code, this will be FormStyleConfig.Type.UNKNOWN_TO_SDK_VERSION if zero
members are set, and null if more than one member is set.Copyright © 2023. All rights reserved.