@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class VisualSubtitleLabelOptions extends Object implements Serializable, Cloneable, StructuredPojo
The subtitle label options for a visual.
Constructor and Description |
---|
VisualSubtitleLabelOptions() |
Modifier and Type | Method and Description |
---|---|
VisualSubtitleLabelOptions |
clone() |
boolean |
equals(Object obj) |
LongFormatText |
getFormatText()
The long text format of the subtitle label, such as plain text or rich text.
|
String |
getVisibility()
The visibility of the subtitle label.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setFormatText(LongFormatText formatText)
The long text format of the subtitle label, such as plain text or rich text.
|
void |
setVisibility(String visibility)
The visibility of the subtitle label.
|
String |
toString()
Returns a string representation of this object.
|
VisualSubtitleLabelOptions |
withFormatText(LongFormatText formatText)
The long text format of the subtitle label, such as plain text or rich text.
|
VisualSubtitleLabelOptions |
withVisibility(String visibility)
The visibility of the subtitle label.
|
VisualSubtitleLabelOptions |
withVisibility(Visibility visibility)
The visibility of the subtitle label.
|
public void setVisibility(String visibility)
The visibility of the subtitle label.
visibility
- The visibility of the subtitle label.Visibility
public String getVisibility()
The visibility of the subtitle label.
Visibility
public VisualSubtitleLabelOptions withVisibility(String visibility)
The visibility of the subtitle label.
visibility
- The visibility of the subtitle label.Visibility
public VisualSubtitleLabelOptions withVisibility(Visibility visibility)
The visibility of the subtitle label.
visibility
- The visibility of the subtitle label.Visibility
public void setFormatText(LongFormatText formatText)
The long text format of the subtitle label, such as plain text or rich text.
formatText
- The long text format of the subtitle label, such as plain text or rich text.public LongFormatText getFormatText()
The long text format of the subtitle label, such as plain text or rich text.
public VisualSubtitleLabelOptions withFormatText(LongFormatText formatText)
The long text format of the subtitle label, such as plain text or rich text.
formatText
- The long text format of the subtitle label, such as plain text or rich text.public String toString()
toString
in class Object
Object.toString()
public VisualSubtitleLabelOptions clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.