@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.FontWeightName
public String getName()
The lexical name for the level of boldness of the text display.
FontWeightName
public 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.FontWeightName
public 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.FontWeightName
public String toString()
toString
in class Object
Object.toString()
public FontWeight clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.