@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DnsServiceDiscovery extends Object implements Serializable, Cloneable, StructuredPojo
An object that represents the DNS service discovery information for your virtual node.
| Constructor and Description |
|---|
DnsServiceDiscovery() |
| Modifier and Type | Method and Description |
|---|---|
DnsServiceDiscovery |
clone() |
boolean |
equals(Object obj) |
String |
getHostname()
Specifies the DNS service discovery hostname for the virtual node.
|
String |
getIpPreference()
The IP version to use to control traffic within the mesh.
|
String |
getResponseType()
Specifies the DNS response type for the virtual node.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setHostname(String hostname)
Specifies the DNS service discovery hostname for the virtual node.
|
void |
setIpPreference(String ipPreference)
The IP version to use to control traffic within the mesh.
|
void |
setResponseType(String responseType)
Specifies the DNS response type for the virtual node.
|
String |
toString()
Returns a string representation of this object.
|
DnsServiceDiscovery |
withHostname(String hostname)
Specifies the DNS service discovery hostname for the virtual node.
|
DnsServiceDiscovery |
withIpPreference(IpPreference ipPreference)
The IP version to use to control traffic within the mesh.
|
DnsServiceDiscovery |
withIpPreference(String ipPreference)
The IP version to use to control traffic within the mesh.
|
DnsServiceDiscovery |
withResponseType(DnsResponseType responseType)
Specifies the DNS response type for the virtual node.
|
DnsServiceDiscovery |
withResponseType(String responseType)
Specifies the DNS response type for the virtual node.
|
public void setHostname(String hostname)
Specifies the DNS service discovery hostname for the virtual node.
hostname - Specifies the DNS service discovery hostname for the virtual node.public String getHostname()
Specifies the DNS service discovery hostname for the virtual node.
public DnsServiceDiscovery withHostname(String hostname)
Specifies the DNS service discovery hostname for the virtual node.
hostname - Specifies the DNS service discovery hostname for the virtual node.public void setIpPreference(String ipPreference)
The IP version to use to control traffic within the mesh.
ipPreference - The IP version to use to control traffic within the mesh.IpPreferencepublic String getIpPreference()
The IP version to use to control traffic within the mesh.
IpPreferencepublic DnsServiceDiscovery withIpPreference(String ipPreference)
The IP version to use to control traffic within the mesh.
ipPreference - The IP version to use to control traffic within the mesh.IpPreferencepublic DnsServiceDiscovery withIpPreference(IpPreference ipPreference)
The IP version to use to control traffic within the mesh.
ipPreference - The IP version to use to control traffic within the mesh.IpPreferencepublic void setResponseType(String responseType)
Specifies the DNS response type for the virtual node.
responseType - Specifies the DNS response type for the virtual node.DnsResponseTypepublic String getResponseType()
Specifies the DNS response type for the virtual node.
DnsResponseTypepublic DnsServiceDiscovery withResponseType(String responseType)
Specifies the DNS response type for the virtual node.
responseType - Specifies the DNS response type for the virtual node.DnsResponseTypepublic DnsServiceDiscovery withResponseType(DnsResponseType responseType)
Specifies the DNS response type for the virtual node.
responseType - Specifies the DNS response type for the virtual node.DnsResponseTypepublic String toString()
toString in class ObjectObject.toString()public DnsServiceDiscovery clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2022. All rights reserved.