@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DnsEntry extends Object implements Serializable, Cloneable
Describes a DNS entry.
Constructor and Description |
---|
DnsEntry() |
Modifier and Type | Method and Description |
---|---|
DnsEntry |
clone() |
boolean |
equals(Object obj) |
String |
getDnsName()
The DNS name.
|
String |
getHostedZoneId()
The ID of the private hosted zone.
|
int |
hashCode() |
void |
setDnsName(String dnsName)
The DNS name.
|
void |
setHostedZoneId(String hostedZoneId)
The ID of the private hosted zone.
|
String |
toString()
Returns a string representation of this object.
|
DnsEntry |
withDnsName(String dnsName)
The DNS name.
|
DnsEntry |
withHostedZoneId(String hostedZoneId)
The ID of the private hosted zone.
|
public void setDnsName(String dnsName)
The DNS name.
dnsName
- The DNS name.public String getDnsName()
The DNS name.
public DnsEntry withDnsName(String dnsName)
The DNS name.
dnsName
- The DNS name.public void setHostedZoneId(String hostedZoneId)
The ID of the private hosted zone.
hostedZoneId
- The ID of the private hosted zone.public String getHostedZoneId()
The ID of the private hosted zone.
public DnsEntry withHostedZoneId(String hostedZoneId)
The ID of the private hosted zone.
hostedZoneId
- The ID of the private hosted zone.public String toString()
toString
in class Object
Object.toString()