Class LocalizedString
- java.lang.Object
-
- software.amazon.awssdk.services.georoutes.model.LocalizedString
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<LocalizedString.Builder,LocalizedString>
@Generated("software.amazon.awssdk:codegen") public final class LocalizedString extends Object implements SdkPojo, Serializable, ToCopyableBuilder<LocalizedString.Builder,LocalizedString>
The localized string.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceLocalizedString.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LocalizedString.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringlanguage()A list of BCP 47 compliant language codes for the results to be rendered in.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends LocalizedString.Builder>serializableBuilderClass()LocalizedString.BuildertoBuilder()StringtoString()Returns a string representation of this object.Stringvalue()The value of the localized string.-
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
-
language
public final String language()
A list of BCP 47 compliant language codes for the results to be rendered in. The request uses the regional default as the fallback if the requested language can't be provided.
- Returns:
- A list of BCP 47 compliant language codes for the results to be rendered in. The request uses the regional default as the fallback if the requested language can't be provided.
-
value
public final String value()
The value of the localized string.
- Returns:
- The value of the localized string.
-
toBuilder
public LocalizedString.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<LocalizedString.Builder,LocalizedString>
-
builder
public static LocalizedString.Builder builder()
-
serializableBuilderClass
public static Class<? extends LocalizedString.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
-
-