Interface AssociateProfileRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<AssociateProfileRequest.Builder,
,AssociateProfileRequest> Route53ProfilesRequest.Builder
,SdkBuilder<AssociateProfileRequest.Builder,
,AssociateProfileRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
AssociateProfileRequest
public static interface AssociateProfileRequest.Builder
extends Route53ProfilesRequest.Builder, SdkPojo, CopyableBuilder<AssociateProfileRequest.Builder,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.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
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
-
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.
-
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.
-
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.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
AssociateProfileRequest.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
AssociateProfileRequest.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.
-