Class AllocateVpcIpv6CidrRequest.Builder
java.lang.Object
software.amazon.awscdk.services.ec2.AllocateVpcIpv6CidrRequest.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<AllocateVpcIpv6CidrRequest>
- Enclosing interface:
AllocateVpcIpv6CidrRequest
@Stability(Stable)
public static final class AllocateVpcIpv6CidrRequest.Builder
extends Object
implements software.amazon.jsii.Builder<AllocateVpcIpv6CidrRequest>
A builder for
AllocateVpcIpv6CidrRequest-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.scope(software.constructs.Construct scope) Sets the value ofAllocateVpcIpv6CidrRequest.getScope()Sets the value ofAllocateVpcIpv6CidrRequest.getVpcId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
scope
@Stability(Stable) public AllocateVpcIpv6CidrRequest.Builder scope(software.constructs.Construct scope) Sets the value ofAllocateVpcIpv6CidrRequest.getScope()- Parameters:
scope- The VPC construct to attach to. This parameter is required.- Returns:
this
-
vpcId
Sets the value ofAllocateVpcIpv6CidrRequest.getVpcId()- Parameters:
vpcId- The id of the VPC. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<AllocateVpcIpv6CidrRequest>- Returns:
- a new instance of
AllocateVpcIpv6CidrRequest - Throws:
NullPointerException- if any required attribute was not provided
-