@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class LabelOptions extends Object implements Serializable, Cloneable, StructuredPojo
The share label options for the labels.
| Constructor and Description |
|---|
LabelOptions() |
| Modifier and Type | Method and Description |
|---|---|
LabelOptions |
clone() |
boolean |
equals(Object obj) |
String |
getCustomLabel()
The text for the label.
|
FontConfiguration |
getFontConfiguration()
The font configuration of the label.
|
String |
getVisibility()
Determines whether or not the label is visible.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setCustomLabel(String customLabel)
The text for the label.
|
void |
setFontConfiguration(FontConfiguration fontConfiguration)
The font configuration of the label.
|
void |
setVisibility(String visibility)
Determines whether or not the label is visible.
|
String |
toString()
Returns a string representation of this object.
|
LabelOptions |
withCustomLabel(String customLabel)
The text for the label.
|
LabelOptions |
withFontConfiguration(FontConfiguration fontConfiguration)
The font configuration of the label.
|
LabelOptions |
withVisibility(String visibility)
Determines whether or not the label is visible.
|
LabelOptions |
withVisibility(Visibility visibility)
Determines whether or not the label is visible.
|
public void setVisibility(String visibility)
Determines whether or not the label is visible.
visibility - Determines whether or not the label is visible.Visibilitypublic String getVisibility()
Determines whether or not the label is visible.
Visibilitypublic LabelOptions withVisibility(String visibility)
Determines whether or not the label is visible.
visibility - Determines whether or not the label is visible.Visibilitypublic LabelOptions withVisibility(Visibility visibility)
Determines whether or not the label is visible.
visibility - Determines whether or not the label is visible.Visibilitypublic void setFontConfiguration(FontConfiguration fontConfiguration)
The font configuration of the label.
fontConfiguration - The font configuration of the label.public FontConfiguration getFontConfiguration()
The font configuration of the label.
public LabelOptions withFontConfiguration(FontConfiguration fontConfiguration)
The font configuration of the label.
fontConfiguration - The font configuration of the label.public void setCustomLabel(String customLabel)
The text for the label.
customLabel - The text for the label.public String getCustomLabel()
The text for the label.
public LabelOptions withCustomLabel(String customLabel)
The text for the label.
customLabel - The text for the label.public String toString()
toString in class ObjectObject.toString()public LabelOptions clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.