public static interface AssociateVPCWithHostedZoneRequest.Builder extends Route53Request.Builder, CopyableBuilder<AssociateVPCWithHostedZoneRequest.Builder,AssociateVPCWithHostedZoneRequest>
Modifier and Type | Method and Description |
---|---|
AssociateVPCWithHostedZoneRequest.Builder |
comment(String comment)
Optional: A comment about the association request.
|
AssociateVPCWithHostedZoneRequest.Builder |
hostedZoneId(String hostedZoneId)
The ID of the private hosted zone that you want to associate an Amazon VPC with.
|
AssociateVPCWithHostedZoneRequest.Builder |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
AssociateVPCWithHostedZoneRequest.Builder |
requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
Add an optional request override configuration.
|
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.
|
AssociateVPCWithHostedZoneRequest.Builder |
vpc(VPC vpc)
A complex type that contains information about the VPC that you want to associate with a private hosted zone.
|
build
requestOverrideConfig
copy
apply, build
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.
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.
AssociateVPCWithHostedZoneRequest.Builder vpc(VPC vpc)
A complex type that contains information about the VPC that you want to associate with a private hosted zone.
vpc
- A complex type that contains information about the VPC that you want to associate with a private
hosted zone.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 that creates an instance of theVPC.Builder
avoiding the need to create one
manually via VPC.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its result is
passed to vpc(VPC)
.vpc
- a consumer that will call methods on VPC.Builder
vpc(VPC)
AssociateVPCWithHostedZoneRequest.Builder comment(String comment)
Optional: A comment about the association request.
comment
- Optional: A comment about the association request.AssociateVPCWithHostedZoneRequest.Builder requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
awsRequestOverrideConfig
- The override configuration.AssociateVPCWithHostedZoneRequest.Builder requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfig.Builder
will be given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.