Class Text
- java.lang.Object
-
- software.amazon.awssdk.services.alexaforbusiness.model.Text
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Text.Builder,Text>
@Generated("software.amazon.awssdk:codegen") public final class Text extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Text.Builder,Text>
The text message.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceText.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Text.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Localelocale()The locale of the text message.StringlocaleAsString()The locale of the text message.List<SdkField<?>>sdkFields()static Class<? extends Text.Builder>serializableBuilderClass()Text.BuildertoBuilder()StringtoString()Returns a string representation of this object.Stringvalue()The value of the text message.-
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
-
locale
public final Locale locale()
The locale of the text message. Currently, en-US is supported.
If the service returns an enum value that is not available in the current SDK version,
localewill returnLocale.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromlocaleAsString().- Returns:
- The locale of the text message. Currently, en-US is supported.
- See Also:
Locale
-
localeAsString
public final String localeAsString()
The locale of the text message. Currently, en-US is supported.
If the service returns an enum value that is not available in the current SDK version,
localewill returnLocale.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromlocaleAsString().- Returns:
- The locale of the text message. Currently, en-US is supported.
- See Also:
Locale
-
value
public final String value()
The value of the text message.
- Returns:
- The value of the text message.
-
toBuilder
public Text.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<Text.Builder,Text>
-
builder
public static Text.Builder builder()
-
serializableBuilderClass
public static Class<? extends Text.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.
-
-