Class CfnWorker.IpAddressesProperty.Builder
java.lang.Object
software.amazon.awscdk.services.deadline.CfnWorker.IpAddressesProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnWorker.IpAddressesProperty>
- Enclosing interface:
CfnWorker.IpAddressesProperty
@Stability(Stable)
public static final class CfnWorker.IpAddressesProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnWorker.IpAddressesProperty>
A builder for
CfnWorker.IpAddressesProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.ipV4Addresses(List<String> ipV4Addresses) Sets the value ofCfnWorker.IpAddressesProperty.getIpV4Addresses()ipV6Addresses(List<String> ipV6Addresses) Sets the value ofCfnWorker.IpAddressesProperty.getIpV6Addresses()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
ipV4Addresses
@Stability(Stable) public CfnWorker.IpAddressesProperty.Builder ipV4Addresses(List<String> ipV4Addresses) Sets the value ofCfnWorker.IpAddressesProperty.getIpV4Addresses()- Parameters:
ipV4Addresses- The IpV4 address of the network.- Returns:
this
-
ipV6Addresses
@Stability(Stable) public CfnWorker.IpAddressesProperty.Builder ipV6Addresses(List<String> ipV6Addresses) Sets the value ofCfnWorker.IpAddressesProperty.getIpV6Addresses()- Parameters:
ipV6Addresses- The IpV6 address for the network and node component.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnWorker.IpAddressesProperty>- Returns:
- a new instance of
CfnWorker.IpAddressesProperty - Throws:
NullPointerException- if any required attribute was not provided
-