@Generated(value="software.amazon.awssdk:codegen") public final class LabelOptions extends Object implements SdkPojo, Serializable, ToCopyableBuilder<LabelOptions.Builder,LabelOptions>
The share label options for the labels.
| Modifier and Type | Class and Description |
|---|---|
static interface |
LabelOptions.Builder |
| Modifier and Type | Method and Description |
|---|---|
static LabelOptions.Builder |
builder() |
String |
customLabel()
The text for the label.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
FontConfiguration |
fontConfiguration()
The font configuration of the label.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends LabelOptions.Builder> |
serializableBuilderClass() |
LabelOptions.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
Visibility |
visibility()
Determines whether or not the label is visible.
|
String |
visibilityAsString()
Determines whether or not the label is visible.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Visibility visibility()
Determines whether or not the label is visible.
If the service returns an enum value that is not available in the current SDK version, visibility will
return Visibility.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
visibilityAsString().
Visibilitypublic final String visibilityAsString()
Determines whether or not the label is visible.
If the service returns an enum value that is not available in the current SDK version, visibility will
return Visibility.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
visibilityAsString().
Visibilitypublic final FontConfiguration fontConfiguration()
The font configuration of the label.
public final String customLabel()
The text for the label.
public LabelOptions.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<LabelOptions.Builder,LabelOptions>public static LabelOptions.Builder builder()
public static Class<? extends LabelOptions.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.