Interface CreateVpcAssociationAuthorizationRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateVpcAssociationAuthorizationRequest.Builder,,CreateVpcAssociationAuthorizationRequest> Route53Request.Builder,SdkBuilder<CreateVpcAssociationAuthorizationRequest.Builder,,CreateVpcAssociationAuthorizationRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateVpcAssociationAuthorizationRequest
@Mutable
@NotThreadSafe
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) overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) 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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.route53.model.Route53Request.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, 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.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:
-
overrideConfiguration
CreateVpcAssociationAuthorizationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) - Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateVpcAssociationAuthorizationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) - Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-