Class CfnWorker.HostPropertiesRequestProperty.Builder
java.lang.Object
software.amazon.awscdk.services.deadline.CfnWorker.HostPropertiesRequestProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnWorker.HostPropertiesRequestProperty>
- Enclosing interface:
CfnWorker.HostPropertiesRequestProperty
@Stability(Stable)
public static final class CfnWorker.HostPropertiesRequestProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnWorker.HostPropertiesRequestProperty>
A builder for
CfnWorker.HostPropertiesRequestProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnWorker.HostPropertiesRequestProperty.getHostName()ipAddresses(IResolvable ipAddresses) Sets the value ofCfnWorker.HostPropertiesRequestProperty.getIpAddresses()ipAddresses(CfnWorker.IpAddressesProperty ipAddresses) Sets the value ofCfnWorker.HostPropertiesRequestProperty.getIpAddresses()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
hostName
Sets the value ofCfnWorker.HostPropertiesRequestProperty.getHostName()- Parameters:
hostName- The host name.- Returns:
this
-
ipAddresses
@Stability(Stable) public CfnWorker.HostPropertiesRequestProperty.Builder ipAddresses(IResolvable ipAddresses) Sets the value ofCfnWorker.HostPropertiesRequestProperty.getIpAddresses()- Parameters:
ipAddresses- The IP addresses for a host.- Returns:
this
-
ipAddresses
@Stability(Stable) public CfnWorker.HostPropertiesRequestProperty.Builder ipAddresses(CfnWorker.IpAddressesProperty ipAddresses) Sets the value ofCfnWorker.HostPropertiesRequestProperty.getIpAddresses()- Parameters:
ipAddresses- The IP addresses for a host.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnWorker.HostPropertiesRequestProperty>- Returns:
- a new instance of
CfnWorker.HostPropertiesRequestProperty - Throws:
NullPointerException- if any required attribute was not provided
-