@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class FontConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
Configures the display properties of the given text.
Constructor and Description |
---|
FontConfiguration() |
Modifier and Type | Method and Description |
---|---|
FontConfiguration |
clone() |
boolean |
equals(Object obj) |
String |
getFontColor()
Determines the color of the text.
|
String |
getFontDecoration()
Determines the appearance of decorative lines on the text.
|
FontSize |
getFontSize()
The option that determines the text display size.
|
String |
getFontStyle()
Determines the text display face that is inherited by the given font family.
|
FontWeight |
getFontWeight()
The option that determines the text display weight, or boldness.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setFontColor(String fontColor)
Determines the color of the text.
|
void |
setFontDecoration(String fontDecoration)
Determines the appearance of decorative lines on the text.
|
void |
setFontSize(FontSize fontSize)
The option that determines the text display size.
|
void |
setFontStyle(String fontStyle)
Determines the text display face that is inherited by the given font family.
|
void |
setFontWeight(FontWeight fontWeight)
The option that determines the text display weight, or boldness.
|
String |
toString()
Returns a string representation of this object.
|
FontConfiguration |
withFontColor(String fontColor)
Determines the color of the text.
|
FontConfiguration |
withFontDecoration(FontDecoration fontDecoration)
Determines the appearance of decorative lines on the text.
|
FontConfiguration |
withFontDecoration(String fontDecoration)
Determines the appearance of decorative lines on the text.
|
FontConfiguration |
withFontSize(FontSize fontSize)
The option that determines the text display size.
|
FontConfiguration |
withFontStyle(FontStyle fontStyle)
Determines the text display face that is inherited by the given font family.
|
FontConfiguration |
withFontStyle(String fontStyle)
Determines the text display face that is inherited by the given font family.
|
FontConfiguration |
withFontWeight(FontWeight fontWeight)
The option that determines the text display weight, or boldness.
|
public void setFontSize(FontSize fontSize)
The option that determines the text display size.
fontSize
- The option that determines the text display size.public FontSize getFontSize()
The option that determines the text display size.
public FontConfiguration withFontSize(FontSize fontSize)
The option that determines the text display size.
fontSize
- The option that determines the text display size.public void setFontDecoration(String fontDecoration)
Determines the appearance of decorative lines on the text.
fontDecoration
- Determines the appearance of decorative lines on the text.FontDecoration
public String getFontDecoration()
Determines the appearance of decorative lines on the text.
FontDecoration
public FontConfiguration withFontDecoration(String fontDecoration)
Determines the appearance of decorative lines on the text.
fontDecoration
- Determines the appearance of decorative lines on the text.FontDecoration
public FontConfiguration withFontDecoration(FontDecoration fontDecoration)
Determines the appearance of decorative lines on the text.
fontDecoration
- Determines the appearance of decorative lines on the text.FontDecoration
public void setFontColor(String fontColor)
Determines the color of the text.
fontColor
- Determines the color of the text.public String getFontColor()
Determines the color of the text.
public FontConfiguration withFontColor(String fontColor)
Determines the color of the text.
fontColor
- Determines the color of the text.public void setFontWeight(FontWeight fontWeight)
The option that determines the text display weight, or boldness.
fontWeight
- The option that determines the text display weight, or boldness.public FontWeight getFontWeight()
The option that determines the text display weight, or boldness.
public FontConfiguration withFontWeight(FontWeight fontWeight)
The option that determines the text display weight, or boldness.
fontWeight
- The option that determines the text display weight, or boldness.public void setFontStyle(String fontStyle)
Determines the text display face that is inherited by the given font family.
fontStyle
- Determines the text display face that is inherited by the given font family.FontStyle
public String getFontStyle()
Determines the text display face that is inherited by the given font family.
FontStyle
public FontConfiguration withFontStyle(String fontStyle)
Determines the text display face that is inherited by the given font family.
fontStyle
- Determines the text display face that is inherited by the given font family.FontStyle
public FontConfiguration withFontStyle(FontStyle fontStyle)
Determines the text display face that is inherited by the given font family.
fontStyle
- Determines the text display face that is inherited by the given font family.FontStyle
public String toString()
toString
in class Object
Object.toString()
public FontConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.