Class DnsServiceDiscovery
- java.lang.Object
-
- software.amazon.awssdk.services.appmesh.model.DnsServiceDiscovery
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<DnsServiceDiscovery.Builder,DnsServiceDiscovery>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDnsServiceDiscovery.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DnsServiceDiscovery.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringhostname()Specifies the DNS service discovery hostname for the virtual node.IpPreferenceipPreference()The preferred IP version that this virtual node uses.StringipPreferenceAsString()The preferred IP version that this virtual node uses.DnsResponseTyperesponseType()Specifies the DNS response type for the virtual node.StringresponseTypeAsString()Specifies the DNS response type for the virtual node.List<SdkField<?>>sdkFields()static Class<? extends DnsServiceDiscovery.Builder>serializableBuilderClass()DnsServiceDiscovery.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
hostname
public final String hostname()
Specifies the DNS service discovery hostname for the virtual node.
- Returns:
- Specifies the DNS service discovery hostname for the virtual node.
-
ipPreference
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,
ipPreferencewill returnIpPreference.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromipPreferenceAsString().- Returns:
- 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.
- See Also:
IpPreference
-
ipPreferenceAsString
public 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,
ipPreferencewill returnIpPreference.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromipPreferenceAsString().- Returns:
- 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.
- See Also:
IpPreference
-
responseType
public 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,
responseTypewill returnDnsResponseType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromresponseTypeAsString().- Returns:
- Specifies the DNS response type for the virtual node.
- See Also:
DnsResponseType
-
responseTypeAsString
public 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,
responseTypewill returnDnsResponseType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromresponseTypeAsString().- Returns:
- Specifies the DNS response type for the virtual node.
- See Also:
DnsResponseType
-
toBuilder
public DnsServiceDiscovery.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<DnsServiceDiscovery.Builder,DnsServiceDiscovery>
-
builder
public static DnsServiceDiscovery.Builder builder()
-
serializableBuilderClass
public static Class<? extends DnsServiceDiscovery.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-