Class CfnNetworkInterfacePropsMixin.Ipv4PrefixSpecificationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.ec2.CfnNetworkInterfacePropsMixin.Ipv4PrefixSpecificationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnNetworkInterfacePropsMixin.Ipv4PrefixSpecificationProperty>
- Enclosing interface:
CfnNetworkInterfacePropsMixin.Ipv4PrefixSpecificationProperty
@Stability(Stable)
public static final class CfnNetworkInterfacePropsMixin.Ipv4PrefixSpecificationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnNetworkInterfacePropsMixin.Ipv4PrefixSpecificationProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.ipv4Prefix(String ipv4Prefix)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
ipv4Prefix
@Stability(Stable) public CfnNetworkInterfacePropsMixin.Ipv4PrefixSpecificationProperty.Builder ipv4Prefix(String ipv4Prefix) - Parameters:
ipv4Prefix- The IPv4 prefix. For information, see Assigning prefixes to network interfaces in the Amazon EC2 User Guide .- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnNetworkInterfacePropsMixin.Ipv4PrefixSpecificationProperty>- Returns:
- a new instance of
CfnNetworkInterfacePropsMixin.Ipv4PrefixSpecificationProperty - Throws:
NullPointerException- if any required attribute was not provided
-