@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class FontWeight extends Object implements Serializable, Cloneable, StructuredPojo
The option that determines the text display weight, or boldness.
| Constructor and Description |
|---|
FontWeight() |
| Modifier and Type | Method and Description |
|---|---|
FontWeight |
clone() |
boolean |
equals(Object obj) |
String |
getName()
The lexical name for the level of boldness of the text display.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setName(String name)
The lexical name for the level of boldness of the text display.
|
String |
toString()
Returns a string representation of this object.
|
FontWeight |
withName(FontWeightName name)
The lexical name for the level of boldness of the text display.
|
FontWeight |
withName(String name)
The lexical name for the level of boldness of the text display.
|
public void setName(String name)
The lexical name for the level of boldness of the text display.
name - The lexical name for the level of boldness of the text display.FontWeightNamepublic String getName()
The lexical name for the level of boldness of the text display.
FontWeightNamepublic FontWeight withName(String name)
The lexical name for the level of boldness of the text display.
name - The lexical name for the level of boldness of the text display.FontWeightNamepublic FontWeight withName(FontWeightName name)
The lexical name for the level of boldness of the text display.
name - The lexical name for the level of boldness of the text display.FontWeightNamepublic String toString()
toString in class ObjectObject.toString()public FontWeight clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.