@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 |
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 |
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 |
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 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 © 2021. All rights reserved.