Interface Locale.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Locale.Builder,Locale>,SdkBuilder<Locale.Builder,Locale>,SdkPojo
- Enclosing class:
- Locale
public static interface Locale.Builder extends SdkPojo, CopyableBuilder<Locale.Builder,Locale>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Locale.Buildercountry(String country)The country of the locale.Locale.Buildersubdivision(String subdivision)The state or subdivision of the locale.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
country
Locale.Builder country(String country)
The country of the locale. Must be a valid ISO 3166 country code. For example, the code US refers to the United States of America.
- Parameters:
country- The country of the locale. Must be a valid ISO 3166 country code. For example, the code US refers to the United States of America.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subdivision
Locale.Builder subdivision(String subdivision)
The state or subdivision of the locale. A valid ISO 3166-2 subdivision code. For example, the code WA refers to the state of Washington.
- Parameters:
subdivision- The state or subdivision of the locale. A valid ISO 3166-2 subdivision code. For example, the code WA refers to the state of Washington.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-