Class SecondaryAddressProps.Builder
java.lang.Object
software.amazon.awscdk.services.ec2.alpha.SecondaryAddressProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<SecondaryAddressProps>
- Enclosing interface:
SecondaryAddressProps
@Stability(Experimental)
public static final class SecondaryAddressProps.Builder
extends Object
implements software.amazon.jsii.Builder<SecondaryAddressProps>
A builder for
SecondaryAddressProps
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.cidrBlockName
(String cidrBlockName) Sets the value ofSecondaryAddressProps.getCidrBlockName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
cidrBlockName
Sets the value ofSecondaryAddressProps.getCidrBlockName()
- Parameters:
cidrBlockName
- Required to set Secondary cidr block resource name in order to generate unique logical id for the resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<SecondaryAddressProps>
- Returns:
- a new instance of
SecondaryAddressProps
- Throws:
NullPointerException
- if any required attribute was not provided
-