Interface CreateProfileRequest.Builder

    • Method Detail

      • clientToken

        CreateProfileRequest.Builder clientToken​(String clientToken)

        ClientToken is an idempotency token that ensures a call to CreateProfile completes only once. You choose the value to pass. For example, an issue might prevent you from getting a response from CreateProfile. In this case, safely retry your call to CreateProfile by using the same CreateProfile parameter value.

        Parameters:
        clientToken - ClientToken is an idempotency token that ensures a call to CreateProfile completes only once. You choose the value to pass. For example, an issue might prevent you from getting a response from CreateProfile. In this case, safely retry your call to CreateProfile by using the same CreateProfile parameter value.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • name

        CreateProfileRequest.Builder name​(String name)

        A name for the Profile.

        Parameters:
        name - A name for the Profile.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        CreateProfileRequest.Builder tags​(Collection<Tag> tags)

        A list of the tag keys and values that you want to associate with the Route 53 Profile.

        Parameters:
        tags - A list of the tag keys and values that you want to associate with the Route 53 Profile.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        CreateProfileRequest.Builder tags​(Tag... tags)

        A list of the tag keys and values that you want to associate with the Route 53 Profile.

        Parameters:
        tags - A list of the tag keys and values that you want to associate with the Route 53 Profile.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        CreateProfileRequest.Builder tags​(Consumer<Tag.Builder>... tags)

        A list of the tag keys and values that you want to associate with the Route 53 Profile.

        This is a convenience method that creates an instance of the Tag.Builder avoiding the need to create one manually via Tag.builder().

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #tags(List).

        Parameters:
        tags - a consumer that will call methods on Tag.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #tags(java.util.Collection)