Interface CreateProfileRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateProfileRequest.Builder,,CreateProfileRequest> Route53ProfilesRequest.Builder,SdkBuilder<CreateProfileRequest.Builder,,CreateProfileRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateProfileRequest
@Mutable
@NotThreadSafe
public static interface CreateProfileRequest.Builder
extends Route53ProfilesRequest.Builder, SdkPojo, CopyableBuilder<CreateProfileRequest.Builder,CreateProfileRequest>
-
Method Summary
Modifier and TypeMethodDescriptionclientToken(String clientToken) ClientTokenis an idempotency token that ensures a call toCreateProfilecompletes 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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.route53profiles.model.Route53ProfilesRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
clientToken
ClientTokenis an idempotency token that ensures a call toCreateProfilecompletes 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 toCreateProfileby using the sameCreateProfileparameter value.- Parameters:
clientToken-ClientTokenis an idempotency token that ensures a call toCreateProfilecompletes 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 toCreateProfileby using the sameCreateProfileparameter 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.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-