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 SummaryModifier 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.BuilderoverrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.services.route53.model.Route53Request.BuilderbuildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
hostedZoneIdThe 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.
 
- 
vpcA 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.
 
- 
vpcA 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 on- VPC.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
commentOptional: 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.
 
- 
overrideConfigurationAssociateVpcWithHostedZoneRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- overrideConfiguration- The override configuration.
- Returns:
- This object for method chaining.
 
- 
overrideConfigurationAssociateVpcWithHostedZoneRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- builderConsumer- A- Consumerto which an empty- AwsRequestOverrideConfiguration.Builderwill be given.
- Returns:
- This object for method chaining.
 
 
-