Class InAppMessageHeaderConfig
- java.lang.Object
-
- software.amazon.awssdk.services.pinpoint.model.InAppMessageHeaderConfig
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<InAppMessageHeaderConfig.Builder,InAppMessageHeaderConfig>
@Generated("software.amazon.awssdk:codegen") public final class InAppMessageHeaderConfig extends Object implements SdkPojo, Serializable, ToCopyableBuilder<InAppMessageHeaderConfig.Builder,InAppMessageHeaderConfig>
Text config for Message Header.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceInAppMessageHeaderConfig.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Alignmentalignment()The alignment of the text.StringalignmentAsString()The alignment of the text.static InAppMessageHeaderConfig.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringheader()Message Header.List<SdkField<?>>sdkFields()static Class<? extends InAppMessageHeaderConfig.Builder>serializableBuilderClass()StringtextColor()The text color.InAppMessageHeaderConfig.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
-
alignment
public final Alignment alignment()
The alignment of the text. Valid values: LEFT, CENTER, RIGHT.
If the service returns an enum value that is not available in the current SDK version,
alignmentwill returnAlignment.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromalignmentAsString().- Returns:
- The alignment of the text. Valid values: LEFT, CENTER, RIGHT.
- See Also:
Alignment
-
alignmentAsString
public final String alignmentAsString()
The alignment of the text. Valid values: LEFT, CENTER, RIGHT.
If the service returns an enum value that is not available in the current SDK version,
alignmentwill returnAlignment.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromalignmentAsString().- Returns:
- The alignment of the text. Valid values: LEFT, CENTER, RIGHT.
- See Also:
Alignment
-
header
public final String header()
Message Header.
- Returns:
- Message Header.
-
textColor
public final String textColor()
The text color.
- Returns:
- The text color.
-
toBuilder
public InAppMessageHeaderConfig.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<InAppMessageHeaderConfig.Builder,InAppMessageHeaderConfig>
-
builder
public static InAppMessageHeaderConfig.Builder builder()
-
serializableBuilderClass
public static Class<? extends InAppMessageHeaderConfig.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.
-
-