@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) |
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.Alignment
public String getAlignment()
The alignment of the text. Valid values: LEFT, CENTER, RIGHT.
Alignment
public 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.Alignment
public 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.Alignment
public 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 Object
Object.toString()
public InAppMessageHeaderConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall
in interface StructuredPojo
Copyright © 2024. All rights reserved.