Class CfnSpotFleet.InstanceIpv6AddressProperty.Builder
java.lang.Object
software.amazon.awscdk.services.ec2.CfnSpotFleet.InstanceIpv6AddressProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSpotFleet.InstanceIpv6AddressProperty>
- Enclosing interface:
CfnSpotFleet.InstanceIpv6AddressProperty
@Stability(Stable)
public static final class CfnSpotFleet.InstanceIpv6AddressProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSpotFleet.InstanceIpv6AddressProperty>
A builder for
CfnSpotFleet.InstanceIpv6AddressProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.ipv6Address
(String ipv6Address) Sets the value ofCfnSpotFleet.InstanceIpv6AddressProperty.getIpv6Address()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
ipv6Address
@Stability(Stable) public CfnSpotFleet.InstanceIpv6AddressProperty.Builder ipv6Address(String ipv6Address) Sets the value ofCfnSpotFleet.InstanceIpv6AddressProperty.getIpv6Address()
- Parameters:
ipv6Address
- The IPv6 address. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnSpotFleet.InstanceIpv6AddressProperty>
- Returns:
- a new instance of
CfnSpotFleet.InstanceIpv6AddressProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-