Class AclCidrConfig.Builder
java.lang.Object
software.amazon.awscdk.services.ec2.AclCidrConfig.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<AclCidrConfig>
- Enclosing interface:
AclCidrConfig
@Stability(Stable)
public static final class AclCidrConfig.Builder
extends Object
implements software.amazon.jsii.Builder<AclCidrConfig>
A builder for
AclCidrConfig
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofAclCidrConfig.getCidrBlock()
ipv6CidrBlock
(String ipv6CidrBlock) Sets the value ofAclCidrConfig.getIpv6CidrBlock()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
cidrBlock
Sets the value ofAclCidrConfig.getCidrBlock()
- Parameters:
cidrBlock
- Ipv4 CIDR.- Returns:
this
-
ipv6CidrBlock
Sets the value ofAclCidrConfig.getIpv6CidrBlock()
- Parameters:
ipv6CidrBlock
- Ipv6 CIDR.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<AclCidrConfig>
- Returns:
- a new instance of
AclCidrConfig
- Throws:
NullPointerException
- if any required attribute was not provided
-