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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description AssociateVpcWithHostedZoneRequest.Buildercomment(String comment)Optional: A comment about the association request.AssociateVpcWithHostedZoneRequest.BuilderhostedZoneId(String hostedZoneId)The ID of the private hosted zone that you want to associate an Amazon VPC with.AssociateVpcWithHostedZoneRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)AssociateVpcWithHostedZoneRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)default AssociateVpcWithHostedZoneRequest.Buildervpc(Consumer<VPC.Builder> vpc)A complex type that contains information about the VPC that you want to associate with a private hosted zone.AssociateVpcWithHostedZoneRequest.Buildervpc(VPC vpc)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 Detail
-
hostedZoneId
AssociateVpcWithHostedZoneRequest.Builder hostedZoneId(String 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
AssociateVpcWithHostedZoneRequest.Builder vpc(VPC 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
default AssociateVpcWithHostedZoneRequest.Builder vpc(Consumer<VPC.Builder> 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:
vpc(VPC)
-
comment
AssociateVpcWithHostedZoneRequest.Builder comment(String 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
AssociateVpcWithHostedZoneRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-