@Stability(value=Stable) public static final class CfnTaskDefinition.HostEntryProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnTaskDefinition.HostEntryProperty>
CfnTaskDefinition.HostEntryProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnTaskDefinition.HostEntryProperty |
build()
Builds the configured instance.
|
CfnTaskDefinition.HostEntryProperty.Builder |
hostname(String hostname)
Sets the value of
CfnTaskDefinition.HostEntryProperty.getHostname() |
CfnTaskDefinition.HostEntryProperty.Builder |
ipAddress(String ipAddress)
Sets the value of
CfnTaskDefinition.HostEntryProperty.getIpAddress() |
@Stability(value=Stable) public CfnTaskDefinition.HostEntryProperty.Builder hostname(String hostname)
CfnTaskDefinition.HostEntryProperty.getHostname()hostname - The hostname to use in the `/etc/hosts` entry.this@Stability(value=Stable) public CfnTaskDefinition.HostEntryProperty.Builder ipAddress(String ipAddress)
CfnTaskDefinition.HostEntryProperty.getIpAddress()ipAddress - The IP address to use in the `/etc/hosts` entry.this@Stability(value=Stable) public CfnTaskDefinition.HostEntryProperty build()
build in interface software.amazon.jsii.Builder<CfnTaskDefinition.HostEntryProperty>CfnTaskDefinition.HostEntryPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.