Interface CreateVpcAssociationAuthorizationRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateVpcAssociationAuthorizationRequest.Builder,
,CreateVpcAssociationAuthorizationRequest> Route53Request.Builder
,SdkBuilder<CreateVpcAssociationAuthorizationRequest.Builder,
,CreateVpcAssociationAuthorizationRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateVpcAssociationAuthorizationRequest
public static interface CreateVpcAssociationAuthorizationRequest.Builder
extends Route53Request.Builder, SdkPojo, CopyableBuilder<CreateVpcAssociationAuthorizationRequest.Builder,CreateVpcAssociationAuthorizationRequest>
-
Method Summary
Modifier and TypeMethodDescriptionhostedZoneId
(String hostedZoneId) The ID of the private hosted zone that you want to authorize associating a 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 the VPC ID and region for the VPC that you want to authorize associating with your hosted zone.A complex type that contains the VPC ID and region for the VPC that you want to authorize associating with your 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 authorize associating a VPC with.
- Parameters:
hostedZoneId
- The ID of the private hosted zone that you want to authorize associating a VPC with.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpc
A complex type that contains the VPC ID and region for the VPC that you want to authorize associating with your hosted zone.
- Parameters:
vpc
- A complex type that contains the VPC ID and region for the VPC that you want to authorize associating with your hosted zone.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpc
A complex type that contains the VPC ID and region for the VPC that you want to authorize associating with your 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:
-
overrideConfiguration
CreateVpcAssociationAuthorizationRequest.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
CreateVpcAssociationAuthorizationRequest.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.
-