@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.Visibility
public String getVisibility()
Determines whether or not the label is visible.
Visibility
public LabelOptions withVisibility(String visibility)
Determines whether or not the label is visible.
visibility
- Determines whether or not the label is visible.Visibility
public LabelOptions withVisibility(Visibility visibility)
Determines whether or not the label is visible.
visibility
- Determines whether or not the label is visible.Visibility
public 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 Object
Object.toString()
public LabelOptions clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.