Interface AssociateProfileRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<AssociateProfileRequest.Builder,,AssociateProfileRequest> Route53ProfilesRequest.Builder,SdkBuilder<AssociateProfileRequest.Builder,,AssociateProfileRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
AssociateProfileRequest
-
Method Summary
Modifier and TypeMethodDescriptionA name for the association.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The priority of the Profile association.ID of the Profile.resourceId(String resourceId) The ID of the VPC.tags(Collection<Tag> tags) A list of the tag keys and values that you want to identify the Profile association.tags(Consumer<Tag.Builder>... tags) A list of the tag keys and values that you want to identify the Profile association.A list of the tag keys and values that you want to identify the Profile association.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
-
profileId
ID of the Profile.
- Parameters:
profileId- ID of the Profile.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceId
The ID of the VPC.
- Parameters:
resourceId- The ID of the VPC.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
A name for the association.
- Parameters:
name- A name for the association.- 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 identify the Profile association.
- Parameters:
tags- A list of the tag keys and values that you want to identify the Profile association.- 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 identify the Profile association.
- Parameters:
tags- A list of the tag keys and values that you want to identify the Profile association.- 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 identify the Profile association.
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:
-
priority
The priority of the Profile association. Route 53 VPC Resolver evaluates the Profile associations for a VPC in priority order, starting with the lowest value.
When the VPC already has a Profile association, you must specify a priority that no other Profile association for the VPC uses. If you omit the priority for the first association with a VPC, the association gets priority 100.
- Parameters:
priority- The priority of the Profile association. Route 53 VPC Resolver evaluates the Profile associations for a VPC in priority order, starting with the lowest value.When the VPC already has a Profile association, you must specify a priority that no other Profile association for the VPC uses. If you omit the priority for the first association with a VPC, the association gets priority 100.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
AssociateProfileRequest.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
AssociateProfileRequest.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.
-