Interface AdminNames.Builder

  • 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 the TranslationName.Builder avoiding the need to create one manually via TranslationName.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to names(List<TranslationName>).

      Parameters:
      names - a consumer that will call methods on TranslationName.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • preference

      AdminNames.Builder preference(String preference)

      Indicates the preference level of the administrative name. Valid values are Primary and Alternative.

      Parameters:
      preference - Indicates the preference level of the administrative name. Valid values are Primary and Alternative.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • preference

      AdminNames.Builder preference(AdminNamesPreference preference)

      Indicates the preference level of the administrative name. Valid values are Primary and Alternative.

      Parameters:
      preference - Indicates the preference level of the administrative name. Valid values are Primary and Alternative.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: