Interface AdminNames.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AdminNames.Builder,,AdminNames> SdkBuilder<AdminNames.Builder,,AdminNames> SdkPojo
- Enclosing class:
AdminNames
-
Method Summary
Modifier and TypeMethodDescriptionnames(Collection<TranslationName> names) A list of translation names for the administrative address component, including name variants and translations in available languages.names(Consumer<TranslationName.Builder>... names) A list of translation names for the administrative address component, including name variants and translations in available languages.names(TranslationName... names) A list of translation names for the administrative address component, including name variants and translations in available languages.preference(String preference) Indicates the preference level of the administrative name.preference(AdminNamesPreference preference) Indicates the preference level of the administrative name.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
names
A list of translation names for the administrative address component, including name variants and translations in available languages.
- Parameters:
names- A list of translation names for the administrative address component, including name variants and translations in available languages.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
names
A list of translation names for the administrative address component, including name variants and translations in available languages.
- Parameters:
names- A list of translation names for the administrative address component, including name variants and translations in available languages.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
names
A list of translation names for the administrative address component, including name variants and translations in available languages.
This is a convenience method that creates an instance of theTranslationName.Builderavoiding the need to create one manually viaTranslationName.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tonames(List<TranslationName>).- Parameters:
names- a consumer that will call methods onTranslationName.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
preference
Indicates the preference level of the administrative name. Valid values are
PrimaryandAlternative.- Parameters:
preference- Indicates the preference level of the administrative name. Valid values arePrimaryandAlternative.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
preference
Indicates the preference level of the administrative name. Valid values are
PrimaryandAlternative.- Parameters:
preference- Indicates the preference level of the administrative name. Valid values arePrimaryandAlternative.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-