Class CfnHostedZonePropsMixin.VPCProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.route53.CfnHostedZonePropsMixin.VPCProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnHostedZonePropsMixin.VPCProperty>
- Enclosing interface:
CfnHostedZonePropsMixin.VPCProperty
@Stability(Stable)
public static final class CfnHostedZonePropsMixin.VPCProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnHostedZonePropsMixin.VPCProperty>
A builder for
CfnHostedZonePropsMixin.VPCProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnHostedZonePropsMixin.VPCProperty.getVpcId()Sets the value ofCfnHostedZonePropsMixin.VPCProperty.getVpcId()Sets the value ofCfnHostedZonePropsMixin.VPCProperty.getVpcRegion()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
vpcId
Sets the value ofCfnHostedZonePropsMixin.VPCProperty.getVpcId()- Parameters:
vpcId- Private hosted zones only: The ID of an Amazon VPC.For public hosted zones, omit
VPCs,VPCId, andVPCRegion.- Returns:
this
-
vpcId
Sets the value ofCfnHostedZonePropsMixin.VPCProperty.getVpcId()- Parameters:
vpcId- Private hosted zones only: The ID of an Amazon VPC.For public hosted zones, omit
VPCs,VPCId, andVPCRegion.- Returns:
this
-
vpcRegion
Sets the value ofCfnHostedZonePropsMixin.VPCProperty.getVpcRegion()- Parameters:
vpcRegion- Private hosted zones only: The region that an Amazon VPC was created in.For public hosted zones, omit
VPCs,VPCId, andVPCRegion.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnHostedZonePropsMixin.VPCProperty>- Returns:
- a new instance of
CfnHostedZonePropsMixin.VPCProperty - Throws:
NullPointerException- if any required attribute was not provided
-