@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ServiceDiscovery extends Object implements Serializable, Cloneable, StructuredPojo
An object that represents the service discovery information for a virtual node.
| Constructor and Description |
|---|
ServiceDiscovery() |
| Modifier and Type | Method and Description |
|---|---|
ServiceDiscovery |
clone() |
boolean |
equals(Object obj) |
AwsCloudMapServiceDiscovery |
getAwsCloudMap()
Specifies any Cloud Map information for the virtual node.
|
DnsServiceDiscovery |
getDns()
Specifies the DNS information for the virtual node.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setAwsCloudMap(AwsCloudMapServiceDiscovery awsCloudMap)
Specifies any Cloud Map information for the virtual node.
|
void |
setDns(DnsServiceDiscovery dns)
Specifies the DNS information for the virtual node.
|
String |
toString()
Returns a string representation of this object.
|
ServiceDiscovery |
withAwsCloudMap(AwsCloudMapServiceDiscovery awsCloudMap)
Specifies any Cloud Map information for the virtual node.
|
ServiceDiscovery |
withDns(DnsServiceDiscovery dns)
Specifies the DNS information for the virtual node.
|
public void setAwsCloudMap(AwsCloudMapServiceDiscovery awsCloudMap)
Specifies any Cloud Map information for the virtual node.
awsCloudMap - Specifies any Cloud Map information for the virtual node.public AwsCloudMapServiceDiscovery getAwsCloudMap()
Specifies any Cloud Map information for the virtual node.
public ServiceDiscovery withAwsCloudMap(AwsCloudMapServiceDiscovery awsCloudMap)
Specifies any Cloud Map information for the virtual node.
awsCloudMap - Specifies any Cloud Map information for the virtual node.public void setDns(DnsServiceDiscovery dns)
Specifies the DNS information for the virtual node.
dns - Specifies the DNS information for the virtual node.public DnsServiceDiscovery getDns()
Specifies the DNS information for the virtual node.
public ServiceDiscovery withDns(DnsServiceDiscovery dns)
Specifies the DNS information for the virtual node.
dns - Specifies the DNS information for the virtual node.public String toString()
toString in class ObjectObject.toString()public ServiceDiscovery clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.