@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DnsEntry extends Object implements Serializable, Cloneable, StructuredPojo
Describes the DNS information of a service.
| Constructor and Description |
|---|
DnsEntry() |
| Modifier and Type | Method and Description |
|---|---|
DnsEntry |
clone() |
boolean |
equals(Object obj) |
String |
getDomainName()
The domain name of the service.
|
String |
getHostedZoneId()
The ID of the hosted zone.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setDomainName(String domainName)
The domain name of the service.
|
void |
setHostedZoneId(String hostedZoneId)
The ID of the hosted zone.
|
String |
toString()
Returns a string representation of this object.
|
DnsEntry |
withDomainName(String domainName)
The domain name of the service.
|
DnsEntry |
withHostedZoneId(String hostedZoneId)
The ID of the hosted zone.
|
public void setDomainName(String domainName)
The domain name of the service.
domainName - The domain name of the service.public String getDomainName()
The domain name of the service.
public DnsEntry withDomainName(String domainName)
The domain name of the service.
domainName - The domain name of the service.public void setHostedZoneId(String hostedZoneId)
The ID of the hosted zone.
hostedZoneId - The ID of the hosted zone.public String getHostedZoneId()
The ID of the hosted zone.
public DnsEntry withHostedZoneId(String hostedZoneId)
The ID of the hosted zone.
hostedZoneId - The ID of the hosted zone.public String toString()
toString in class ObjectObject.toString()public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.