Interface AssociateVpcWithHostedZoneRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<AssociateVpcWithHostedZoneRequest.Builder,
,AssociateVpcWithHostedZoneRequest> Route53Request.Builder
,SdkBuilder<AssociateVpcWithHostedZoneRequest.Builder,
,AssociateVpcWithHostedZoneRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
AssociateVpcWithHostedZoneRequest
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
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.route53.model.Route53Request.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
-
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.Builder
avoiding the need to create one manually viaVPC.builder()
.When the
Consumer
completes,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.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
AssociateVpcWithHostedZoneRequest.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.
-