CopyableBuilder<Locale.Builder,Locale>, SdkBuilder<Locale.Builder,Locale>public static interface Locale.Builder extends CopyableBuilder<Locale.Builder,Locale>
| Modifier and Type | Method | Description |
|---|---|---|
Locale.Builder |
country(String country) |
The country of the locale.
|
Locale.Builder |
subdivision(String subdivision) |
The state or subdivision of the locale.
|
copyapply, buildLocale.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.
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.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.
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.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.