Interface AssociateProfileRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<AssociateProfileRequest.Builder,,AssociateProfileRequest> Route53ProfilesRequest.Builder,SdkBuilder<AssociateProfileRequest.Builder,,AssociateProfileRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
AssociateProfileRequest
@Mutable
@NotThreadSafe
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
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
-
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.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
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.
-