@Generated(value="software.amazon.awssdk:codegen") public final class DnsServiceDiscovery extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DnsServiceDiscovery.Builder,DnsServiceDiscovery>
An object that represents the DNS service discovery information for your virtual node.
| Modifier and Type | Class and Description |
|---|---|
static interface |
DnsServiceDiscovery.Builder |
| Modifier and Type | Method and Description |
|---|---|
static DnsServiceDiscovery.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
hostname()
Specifies the DNS service discovery hostname for the virtual node.
|
IpPreference |
ipPreference()
The preferred IP version that this virtual node uses.
|
String |
ipPreferenceAsString()
The preferred IP version that this virtual node uses.
|
DnsResponseType |
responseType()
Specifies the DNS response type for the virtual node.
|
String |
responseTypeAsString()
Specifies the DNS response type for the virtual node.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends DnsServiceDiscovery.Builder> |
serializableBuilderClass() |
DnsServiceDiscovery.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String hostname()
Specifies the DNS service discovery hostname for the virtual node.
public final IpPreference 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.
If the service returns an enum value that is not available in the current SDK version, ipPreference will
return IpPreference.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
ipPreferenceAsString().
IpPreferencepublic final String ipPreferenceAsString()
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.
If the service returns an enum value that is not available in the current SDK version, ipPreference will
return IpPreference.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
ipPreferenceAsString().
IpPreferencepublic final DnsResponseType responseType()
Specifies the DNS response type for the virtual node.
If the service returns an enum value that is not available in the current SDK version, responseType will
return DnsResponseType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
responseTypeAsString().
DnsResponseTypepublic final String responseTypeAsString()
Specifies the DNS response type for the virtual node.
If the service returns an enum value that is not available in the current SDK version, responseType will
return DnsResponseType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
responseTypeAsString().
DnsResponseTypepublic DnsServiceDiscovery.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<DnsServiceDiscovery.Builder,DnsServiceDiscovery>public static DnsServiceDiscovery.Builder builder()
public static Class<? extends DnsServiceDiscovery.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.