Interface CreateProfileRequest.Builder

All Superinterfaces:
AwsRequest.Builder, Buildable, CopyableBuilder<CreateProfileRequest.Builder,CreateProfileRequest>, Route53ProfilesRequest.Builder, SdkBuilder<CreateProfileRequest.Builder,CreateProfileRequest>, SdkPojo, SdkRequest.Builder
Enclosing class:
CreateProfileRequest

public static interface CreateProfileRequest.Builder extends Route53ProfilesRequest.Builder, SdkPojo, CopyableBuilder<CreateProfileRequest.Builder,CreateProfileRequest>
  • Method Details

    • 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

      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

      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

      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

      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<Tag>).

      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:
    • overrideConfiguration

      CreateProfileRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.