Interface AssociateVpcWithHostedZoneRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<AssociateVpcWithHostedZoneRequest.Builder,,AssociateVpcWithHostedZoneRequest> Route53Request.Builder,SdkBuilder<AssociateVpcWithHostedZoneRequest.Builder,,AssociateVpcWithHostedZoneRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
AssociateVpcWithHostedZoneRequest
@Mutable
@NotThreadSafe
public static interface AssociateVpcWithHostedZoneRequest.Builder
extends Route53Request.Builder, SdkPojo, CopyableBuilder<AssociateVpcWithHostedZoneRequest.Builder,AssociateVpcWithHostedZoneRequest>
-
Method Summary
Modifier and TypeMethodDescriptionOptional: A comment about the association request.hostedZoneId(String hostedZoneId) The ID of the private hosted zone that you want to associate an Amazon VPC with.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.vpc(Consumer<VPC.Builder> vpc) A complex type that contains information about the VPC that you want to associate with a private hosted zone.A complex type that contains information about the VPC that you want to associate with a private hosted zone.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.route53.model.Route53Request.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
-
hostedZoneId
The ID of the private hosted zone that you want to associate an Amazon VPC with.
Note that you can't associate a VPC with a hosted zone that doesn't have an existing VPC association.
- Parameters:
hostedZoneId- The ID of the private hosted zone that you want to associate an Amazon VPC with.Note that you can't associate a VPC with a hosted zone that doesn't have an existing VPC association.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpc
A complex type that contains information about the VPC that you want to associate with a private hosted zone.
- Parameters:
vpc- A complex type that contains information about the VPC that you want to associate with a private hosted zone.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpc
A complex type that contains information about the VPC that you want to associate with a private hosted zone.
This is a convenience method that creates an instance of theVPC.Builderavoiding the need to create one manually viaVPC.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tovpc(VPC).- Parameters:
vpc- a consumer that will call methods onVPC.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
comment
Optional: A comment about the association request.
- Parameters:
comment- Optional: A comment about the association request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
AssociateVpcWithHostedZoneRequest.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
AssociateVpcWithHostedZoneRequest.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.
-