@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.
|
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.
|
String |
toString()
Returns a string representation of this object.
|
DnsServiceDiscovery |
withHostname(String hostname)
Specifies the DNS service discovery hostname 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 String toString()
toString in class ObjectObject.toString()public DnsServiceDiscovery clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.