@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class FontSize extends Object implements Serializable, Cloneable, StructuredPojo
The option that determines the text display size.
| Constructor and Description |
|---|
FontSize() |
| Modifier and Type | Method and Description |
|---|---|
FontSize |
clone() |
boolean |
equals(Object obj) |
String |
getRelative()
The lexical name for the text size, proportional to its surrounding context.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setRelative(String relative)
The lexical name for the text size, proportional to its surrounding context.
|
String |
toString()
Returns a string representation of this object.
|
FontSize |
withRelative(RelativeFontSize relative)
The lexical name for the text size, proportional to its surrounding context.
|
FontSize |
withRelative(String relative)
The lexical name for the text size, proportional to its surrounding context.
|
public void setRelative(String relative)
The lexical name for the text size, proportional to its surrounding context.
relative - The lexical name for the text size, proportional to its surrounding context.RelativeFontSizepublic String getRelative()
The lexical name for the text size, proportional to its surrounding context.
RelativeFontSizepublic FontSize withRelative(String relative)
The lexical name for the text size, proportional to its surrounding context.
relative - The lexical name for the text size, proportional to its surrounding context.RelativeFontSizepublic FontSize withRelative(RelativeFontSize relative)
The lexical name for the text size, proportional to its surrounding context.
relative - The lexical name for the text size, proportional to its surrounding context.RelativeFontSizepublic String toString()
toString in class ObjectObject.toString()public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.