public class HostedZone extends Object implements Serializable, Cloneable
A complex type that contain information about the specified hosted zone.
Constructor and Description |
---|
HostedZone()
Default constructor for HostedZone object.
|
HostedZone(String id,
String name,
String callerReference)
Constructs a new HostedZone object.
|
Modifier and Type | Method and Description |
---|---|
HostedZone |
clone() |
boolean |
equals(Object obj) |
String |
getCallerReference()
A unique string that identifies the request to create the hosted zone.
|
HostedZoneConfig |
getConfig()
A complex type that contains the
Comment element. |
String |
getId()
The ID of the specified hosted zone.
|
String |
getName()
The name of the domain.
|
Long |
getResourceRecordSetCount()
Total number of resource record sets in the hosted zone.
|
int |
hashCode() |
void |
setCallerReference(String callerReference)
A unique string that identifies the request to create the hosted zone.
|
void |
setConfig(HostedZoneConfig config)
A complex type that contains the
Comment element. |
void |
setId(String id)
The ID of the specified hosted zone.
|
void |
setName(String name)
The name of the domain.
|
void |
setResourceRecordSetCount(Long resourceRecordSetCount)
Total number of resource record sets in the hosted zone.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
HostedZone |
withCallerReference(String callerReference)
A unique string that identifies the request to create the hosted zone.
|
HostedZone |
withConfig(HostedZoneConfig config)
A complex type that contains the
Comment element. |
HostedZone |
withId(String id)
The ID of the specified hosted zone.
|
HostedZone |
withName(String name)
The name of the domain.
|
HostedZone |
withResourceRecordSetCount(Long resourceRecordSetCount)
Total number of resource record sets in the hosted zone.
|
public HostedZone()
public HostedZone(String id, String name, String callerReference)
id
- The ID of the specified hosted zone.name
- The name of the domain. This must be a fully-specified domain, for
example, www.example.com. The trailing dot is optional; Amazon
Route 53 assumes that the domain name is fully qualified. This
means that Amazon Route 53 treats www.example.com (without a
trailing dot) and www.example.com. (with a trailing dot) as
identical.
This is the name you have registered with your DNS registrar. You
should ask your registrar to change the authoritative name servers
for your domain to the set of NameServers
elements
returned in DelegationSet
.
callerReference
- A unique string that identifies the request to create the hosted
zone.public void setId(String id)
The ID of the specified hosted zone.
id
- The ID of the specified hosted zone.public String getId()
The ID of the specified hosted zone.
public HostedZone withId(String id)
The ID of the specified hosted zone.
id
- The ID of the specified hosted zone.public void setName(String name)
The name of the domain. This must be a fully-specified domain, for example, www.example.com. The trailing dot is optional; Amazon Route 53 assumes that the domain name is fully qualified. This means that Amazon Route 53 treats www.example.com (without a trailing dot) and www.example.com. (with a trailing dot) as identical.
This is the name you have registered with your DNS registrar. You should
ask your registrar to change the authoritative name servers for your
domain to the set of NameServers
elements returned in
DelegationSet
.
name
- The name of the domain. This must be a fully-specified domain, for
example, www.example.com. The trailing dot is optional; Amazon
Route 53 assumes that the domain name is fully qualified. This
means that Amazon Route 53 treats www.example.com (without a
trailing dot) and www.example.com. (with a trailing dot) as
identical.
This is the name you have registered with your DNS registrar. You
should ask your registrar to change the authoritative name servers
for your domain to the set of NameServers
elements
returned in DelegationSet
.
public String getName()
The name of the domain. This must be a fully-specified domain, for example, www.example.com. The trailing dot is optional; Amazon Route 53 assumes that the domain name is fully qualified. This means that Amazon Route 53 treats www.example.com (without a trailing dot) and www.example.com. (with a trailing dot) as identical.
This is the name you have registered with your DNS registrar. You should
ask your registrar to change the authoritative name servers for your
domain to the set of NameServers
elements returned in
DelegationSet
.
This is the name you have registered with your DNS registrar. You
should ask your registrar to change the authoritative name
servers for your domain to the set of NameServers
elements returned in DelegationSet
.
public HostedZone withName(String name)
The name of the domain. This must be a fully-specified domain, for example, www.example.com. The trailing dot is optional; Amazon Route 53 assumes that the domain name is fully qualified. This means that Amazon Route 53 treats www.example.com (without a trailing dot) and www.example.com. (with a trailing dot) as identical.
This is the name you have registered with your DNS registrar. You should
ask your registrar to change the authoritative name servers for your
domain to the set of NameServers
elements returned in
DelegationSet
.
name
- The name of the domain. This must be a fully-specified domain, for
example, www.example.com. The trailing dot is optional; Amazon
Route 53 assumes that the domain name is fully qualified. This
means that Amazon Route 53 treats www.example.com (without a
trailing dot) and www.example.com. (with a trailing dot) as
identical.
This is the name you have registered with your DNS registrar. You
should ask your registrar to change the authoritative name servers
for your domain to the set of NameServers
elements
returned in DelegationSet
.
public void setCallerReference(String callerReference)
A unique string that identifies the request to create the hosted zone.
callerReference
- A unique string that identifies the request to create the hosted
zone.public String getCallerReference()
A unique string that identifies the request to create the hosted zone.
public HostedZone withCallerReference(String callerReference)
A unique string that identifies the request to create the hosted zone.
callerReference
- A unique string that identifies the request to create the hosted
zone.public void setConfig(HostedZoneConfig config)
A complex type that contains the Comment
element.
config
- A complex type that contains the Comment
element.public HostedZoneConfig getConfig()
A complex type that contains the Comment
element.
Comment
element.public HostedZone withConfig(HostedZoneConfig config)
A complex type that contains the Comment
element.
config
- A complex type that contains the Comment
element.public void setResourceRecordSetCount(Long resourceRecordSetCount)
Total number of resource record sets in the hosted zone.
resourceRecordSetCount
- Total number of resource record sets in the hosted zone.public Long getResourceRecordSetCount()
Total number of resource record sets in the hosted zone.
public HostedZone withResourceRecordSetCount(Long resourceRecordSetCount)
Total number of resource record sets in the hosted zone.
resourceRecordSetCount
- Total number of resource record sets in the hosted zone.public String toString()
toString
in class Object
Object.toString()
public HostedZone clone()
Copyright © 2018. All rights reserved.