@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class InAppMessageHeaderConfig extends Object implements Serializable, Cloneable, StructuredPojo
Text config for Message Header.
| Constructor and Description |
|---|
InAppMessageHeaderConfig() |
| Modifier and Type | Method and Description |
|---|---|
InAppMessageHeaderConfig |
clone() |
boolean |
equals(Object obj) |
String |
getAlignment()
The alignment of the text.
|
String |
getHeader()
Message Header.
|
String |
getTextColor()
The text color.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setAlignment(String alignment)
The alignment of the text.
|
void |
setHeader(String header)
Message Header.
|
void |
setTextColor(String textColor)
The text color.
|
String |
toString()
Returns a string representation of this object.
|
InAppMessageHeaderConfig |
withAlignment(Alignment alignment)
The alignment of the text.
|
InAppMessageHeaderConfig |
withAlignment(String alignment)
The alignment of the text.
|
InAppMessageHeaderConfig |
withHeader(String header)
Message Header.
|
InAppMessageHeaderConfig |
withTextColor(String textColor)
The text color.
|
public void setAlignment(String alignment)
The alignment of the text. Valid values: LEFT, CENTER, RIGHT.
alignment - The alignment of the text. Valid values: LEFT, CENTER, RIGHT.Alignmentpublic String getAlignment()
The alignment of the text. Valid values: LEFT, CENTER, RIGHT.
Alignmentpublic InAppMessageHeaderConfig withAlignment(String alignment)
The alignment of the text. Valid values: LEFT, CENTER, RIGHT.
alignment - The alignment of the text. Valid values: LEFT, CENTER, RIGHT.Alignmentpublic InAppMessageHeaderConfig withAlignment(Alignment alignment)
The alignment of the text. Valid values: LEFT, CENTER, RIGHT.
alignment - The alignment of the text. Valid values: LEFT, CENTER, RIGHT.Alignmentpublic void setHeader(String header)
Message Header.
header - Message Header.public String getHeader()
Message Header.
public InAppMessageHeaderConfig withHeader(String header)
Message Header.
header - Message Header.public void setTextColor(String textColor)
The text color.
textColor - The text color.public String getTextColor()
The text color.
public InAppMessageHeaderConfig withTextColor(String textColor)
The text color.
textColor - The text color.public String toString()
toString in class ObjectObject.toString()public InAppMessageHeaderConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.