Class CreateIpv6CidrBlocksRequest.Builder
java.lang.Object
software.amazon.awscdk.services.ec2.CreateIpv6CidrBlocksRequest.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CreateIpv6CidrBlocksRequest>
- Enclosing interface:
CreateIpv6CidrBlocksRequest
@Stability(Stable)
public static final class CreateIpv6CidrBlocksRequest.Builder
extends Object
implements software.amazon.jsii.Builder<CreateIpv6CidrBlocksRequest>
A builder for
CreateIpv6CidrBlocksRequest
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.ipv6SelectedCidr
(String ipv6SelectedCidr) Sets the value ofCreateIpv6CidrBlocksRequest.getIpv6SelectedCidr()
Sets the value ofCreateIpv6CidrBlocksRequest.getSizeMask()
subnetCount
(Number subnetCount) Sets the value ofCreateIpv6CidrBlocksRequest.getSubnetCount()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
ipv6SelectedCidr
@Stability(Stable) public CreateIpv6CidrBlocksRequest.Builder ipv6SelectedCidr(String ipv6SelectedCidr) Sets the value ofCreateIpv6CidrBlocksRequest.getIpv6SelectedCidr()
- Parameters:
ipv6SelectedCidr
- The IPv6 CIDR block string representation. This parameter is required.- Returns:
this
-
subnetCount
Sets the value ofCreateIpv6CidrBlocksRequest.getSubnetCount()
- Parameters:
subnetCount
- The number of subnets to assign CIDRs to. This parameter is required.- Returns:
this
-
sizeMask
Sets the value ofCreateIpv6CidrBlocksRequest.getSizeMask()
- Parameters:
sizeMask
- Size of the covered bits in the CIDR.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CreateIpv6CidrBlocksRequest>
- Returns:
- a new instance of
CreateIpv6CidrBlocksRequest
- Throws:
NullPointerException
- if any required attribute was not provided
-