@Stability(value=Stable)
public static interface CfnVirtualNode.DnsServiceDiscoveryProperty
extends software.amazon.jsii.JsiiSerializable
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.appmesh.*;
DnsServiceDiscoveryProperty dnsServiceDiscoveryProperty = DnsServiceDiscoveryProperty.builder()
.hostname("hostname")
// the properties below are optional
.ipPreference("ipPreference")
.responseType("responseType")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnVirtualNode.DnsServiceDiscoveryProperty.Builder
A builder for
CfnVirtualNode.DnsServiceDiscoveryProperty |
static class |
CfnVirtualNode.DnsServiceDiscoveryProperty.Jsii$Proxy
An implementation for
CfnVirtualNode.DnsServiceDiscoveryProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnVirtualNode.DnsServiceDiscoveryProperty.Builder |
builder() |
String |
getHostname()
Specifies the DNS service discovery hostname for the virtual node.
|
default String |
getIpPreference()
The preferred IP version that this virtual node uses.
|
default String |
getResponseType()
Specifies the DNS response type for the virtual node.
|
@Stability(value=Stable) @NotNull String getHostname()
@Stability(value=Stable) @Nullable default String getIpPreference()
Setting the IP preference on the virtual node only overrides the IP preference set for the mesh on this specific node.
@Stability(value=Stable) @Nullable default String getResponseType()
@Stability(value=Stable) static CfnVirtualNode.DnsServiceDiscoveryProperty.Builder builder()
Copyright © 2022. All rights reserved.