@Stability(value=Stable) public static final class CfnVirtualNode.DnsServiceDiscoveryProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnVirtualNode.DnsServiceDiscoveryProperty>
CfnVirtualNode.DnsServiceDiscoveryProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnVirtualNode.DnsServiceDiscoveryProperty |
build()
Builds the configured instance.
|
CfnVirtualNode.DnsServiceDiscoveryProperty.Builder |
hostname(String hostname)
Sets the value of
CfnVirtualNode.DnsServiceDiscoveryProperty.getHostname() |
CfnVirtualNode.DnsServiceDiscoveryProperty.Builder |
ipPreference(String ipPreference)
Sets the value of
CfnVirtualNode.DnsServiceDiscoveryProperty.getIpPreference() |
CfnVirtualNode.DnsServiceDiscoveryProperty.Builder |
responseType(String responseType)
Sets the value of
CfnVirtualNode.DnsServiceDiscoveryProperty.getResponseType() |
@Stability(value=Stable) public CfnVirtualNode.DnsServiceDiscoveryProperty.Builder hostname(String hostname)
CfnVirtualNode.DnsServiceDiscoveryProperty.getHostname()hostname - Specifies the DNS service discovery hostname for the virtual node. This parameter is required.this@Stability(value=Stable) public CfnVirtualNode.DnsServiceDiscoveryProperty.Builder ipPreference(String ipPreference)
CfnVirtualNode.DnsServiceDiscoveryProperty.getIpPreference()ipPreference - The preferred IP version that this virtual node uses.
Setting the IP preference on the virtual node only overrides the IP preference set for the mesh on this specific node.this@Stability(value=Stable) public CfnVirtualNode.DnsServiceDiscoveryProperty.Builder responseType(String responseType)
CfnVirtualNode.DnsServiceDiscoveryProperty.getResponseType()responseType - Specifies the DNS response type for the virtual node.this@Stability(value=Stable) public CfnVirtualNode.DnsServiceDiscoveryProperty build()
build in interface software.amazon.jsii.Builder<CfnVirtualNode.DnsServiceDiscoveryProperty>CfnVirtualNode.DnsServiceDiscoveryPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.