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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CreateProfileRequest.BuilderclientToken(String clientToken)ClientTokenis an idempotency token that ensures a call toCreateProfilecompletes only once.CreateProfileRequest.Buildername(String name)A name for the Profile.CreateProfileRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateProfileRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreateProfileRequest.Buildertags(Collection<Tag> tags)A list of the tag keys and values that you want to associate with the Route 53 Profile.CreateProfileRequest.Buildertags(Consumer<Tag.Builder>... tags)A list of the tag keys and values that you want to associate with the Route 53 Profile.CreateProfileRequest.Buildertags(Tag... tags)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 Detail
-
clientToken
CreateProfileRequest.Builder clientToken(String 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
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 theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#tags(List.) - 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:
#tags(java.util.Collection)
-
overrideConfiguration
CreateProfileRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateProfileRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-