Interface Locale.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Locale.Builder,
,Locale> SdkBuilder<Locale.Builder,
,Locale> SdkPojo
- Enclosing class:
Locale
-
Method Summary
Modifier and TypeMethodDescriptionThe country of the locale.subdivision
(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 Details
-
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
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.
-