Class CfnNetworkInterface.Ipv6PrefixSpecificationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.ec2.CfnNetworkInterface.Ipv6PrefixSpecificationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnNetworkInterface.Ipv6PrefixSpecificationProperty>
- Enclosing interface:
CfnNetworkInterface.Ipv6PrefixSpecificationProperty
@Stability(Stable)
public static final class CfnNetworkInterface.Ipv6PrefixSpecificationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnNetworkInterface.Ipv6PrefixSpecificationProperty>
A builder for
CfnNetworkInterface.Ipv6PrefixSpecificationProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.ipv6Prefix
(String ipv6Prefix) Sets the value ofCfnNetworkInterface.Ipv6PrefixSpecificationProperty.getIpv6Prefix()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
ipv6Prefix
@Stability(Stable) public CfnNetworkInterface.Ipv6PrefixSpecificationProperty.Builder ipv6Prefix(String ipv6Prefix) Sets the value ofCfnNetworkInterface.Ipv6PrefixSpecificationProperty.getIpv6Prefix()
- Parameters:
ipv6Prefix
- The IPv6 prefix. This parameter is required. For information, see Assigning prefixes to Amazon EC2 network interfaces in the Amazon Elastic Compute Cloud User Guide .- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnNetworkInterface.Ipv6PrefixSpecificationProperty>
- Returns:
- a new instance of
CfnNetworkInterface.Ipv6PrefixSpecificationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-