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 Summary
Modifier and TypeMethodDescriptionclientToken
(String clientToken) ClientToken
is an idempotency token that ensures a call toCreateProfile
completes only once.A name for the Profile.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.tags
(Collection<Tag> tags) A list of the tag keys and values that you want to associate with the Route 53 Profile.tags
(Consumer<Tag.Builder>... tags) A list of the tag keys and values that you want to associate with the Route 53 Profile.A list of the tag keys and values that you want to associate with the Route 53 Profile.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.route53profiles.model.Route53ProfilesRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
clientToken
ClientToken
is an idempotency token that ensures a call toCreateProfile
completes only once. You choose the value to pass. For example, an issue might prevent you from getting a response fromCreateProfile
. In this case, safely retry your call toCreateProfile
by using the sameCreateProfile
parameter value.- Parameters:
clientToken
-ClientToken
is an idempotency token that ensures a call toCreateProfile
completes only once. You choose the value to pass. For example, an issue might prevent you from getting a response fromCreateProfile
. In this case, safely retry your call toCreateProfile
by using the sameCreateProfile
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 theTag.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totags(List<Tag>)
.- Parameters:
tags
- a consumer that will call methods onTag.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 interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateProfileRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-