Class FontSize
- java.lang.Object
-
- software.amazon.awssdk.services.quicksight.model.FontSize
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<FontSize.Builder,FontSize>
@Generated("software.amazon.awssdk:codegen") public final class FontSize extends Object implements SdkPojo, Serializable, ToCopyableBuilder<FontSize.Builder,FontSize>
The option that determines the text display size.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceFontSize.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringabsolute()The font size that you want to use in px.static FontSize.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()RelativeFontSizerelative()The lexical name for the text size, proportional to its surrounding context.StringrelativeAsString()The lexical name for the text size, proportional to its surrounding context.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends FontSize.Builder>serializableBuilderClass()FontSize.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
relative
public final RelativeFontSize relative()
The lexical name for the text size, proportional to its surrounding context.
If the service returns an enum value that is not available in the current SDK version,
relativewill returnRelativeFontSize.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromrelativeAsString().- Returns:
- The lexical name for the text size, proportional to its surrounding context.
- See Also:
RelativeFontSize
-
relativeAsString
public final String relativeAsString()
The lexical name for the text size, proportional to its surrounding context.
If the service returns an enum value that is not available in the current SDK version,
relativewill returnRelativeFontSize.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromrelativeAsString().- Returns:
- The lexical name for the text size, proportional to its surrounding context.
- See Also:
RelativeFontSize
-
absolute
public final String absolute()
The font size that you want to use in px.
- Returns:
- The font size that you want to use in px.
-
toBuilder
public FontSize.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<FontSize.Builder,FontSize>
-
builder
public static FontSize.Builder builder()
-
serializableBuilderClass
public static Class<? extends FontSize.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-