Class CfnLaunchTemplate.Ipv6AddProperty.Builder
java.lang.Object
software.amazon.awscdk.services.ec2.CfnLaunchTemplate.Ipv6AddProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnLaunchTemplate.Ipv6AddProperty>
- Enclosing interface:
CfnLaunchTemplate.Ipv6AddProperty
@Stability(Stable)
public static final class CfnLaunchTemplate.Ipv6AddProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnLaunchTemplate.Ipv6AddProperty>
A builder for
CfnLaunchTemplate.Ipv6AddProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.ipv6Address
(String ipv6Address) Sets the value ofCfnLaunchTemplate.Ipv6AddProperty.getIpv6Address()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
ipv6Address
Sets the value ofCfnLaunchTemplate.Ipv6AddProperty.getIpv6Address()
- Parameters:
ipv6Address
- One or more specific IPv6 addresses from the IPv6 CIDR block range of your subnet. You can't use this option if you're specifying a number of IPv6 addresses.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnLaunchTemplate.Ipv6AddProperty>
- Returns:
- a new instance of
CfnLaunchTemplate.Ipv6AddProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-