@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 preferred IP version that this virtual node uses.
|
String |
getResponseType()
Specifies the DNS response type for the virtual node.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setHostname(String hostname)
Specifies the DNS service discovery hostname for the virtual node.
|
void |
setIpPreference(String ipPreference)
The preferred IP version that this virtual node uses.
|
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 preferred IP version that this virtual node uses.
|
DnsServiceDiscovery |
withIpPreference(String ipPreference)
The preferred IP version that this virtual node uses.
|
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 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.
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.IpPreference
public String getIpPreference()
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.
IpPreference
public DnsServiceDiscovery withIpPreference(String 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.
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.IpPreference
public DnsServiceDiscovery withIpPreference(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.
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.IpPreference
public void setResponseType(String responseType)
Specifies the DNS response type for the virtual node.
responseType
- Specifies the DNS response type for the virtual node.DnsResponseType
public String getResponseType()
Specifies the DNS response type for the virtual node.
DnsResponseType
public DnsServiceDiscovery withResponseType(String responseType)
Specifies the DNS response type for the virtual node.
responseType
- Specifies the DNS response type for the virtual node.DnsResponseType
public DnsServiceDiscovery withResponseType(DnsResponseType responseType)
Specifies the DNS response type for the virtual node.
responseType
- Specifies the DNS response type for the virtual node.DnsResponseType
public String toString()
toString
in class Object
Object.toString()
public DnsServiceDiscovery clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.