Class HostedZone
- All Implemented Interfaces:
Serializable
,Cloneable
A complex type that contain information about the specified hosted zone.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for HostedZone object.HostedZone
(String id, String name, String callerReference) Constructs a new HostedZone object. -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
A unique string that identifies the request to create the hosted zone.A complex type that contains theComment
element.getId()
The ID of the specified hosted zone.getName()
The name of the domain.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 theComment
element.void
The ID of the specified hosted zone.void
The name of the domain.void
setResourceRecordSetCount
(Long resourceRecordSetCount) Total number of resource record sets in the hosted zone.toString()
Returns a string representation of this object; useful for testing and debugging.withCallerReference
(String callerReference) A unique string that identifies the request to create the hosted zone.withConfig
(HostedZoneConfig config) A complex type that contains theComment
element.The ID of the specified hosted zone.The name of the domain.withResourceRecordSetCount
(Long resourceRecordSetCount) Total number of resource record sets in the hosted zone.
-
Constructor Details
-
HostedZone
public HostedZone()Default constructor for HostedZone object. Callers should use the setter or fluent setter (with...) methods to initialize the object after creating it. -
HostedZone
Constructs a new HostedZone object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.- Parameters:
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 inDelegationSet
.callerReference
- A unique string that identifies the request to create the hosted zone.
-
-
Method Details
-
setId
The ID of the specified hosted zone.
- Parameters:
id
- The ID of the specified hosted zone.
-
getId
The ID of the specified hosted zone.
- Returns:
- The ID of the specified hosted zone.
-
withId
The ID of the specified hosted zone.
- Parameters:
id
- The ID of the specified hosted zone.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setName
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 inDelegationSet
.- Parameters:
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 inDelegationSet
.
-
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 inDelegationSet
.- Returns:
- 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 inDelegationSet
.
-
withName
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 inDelegationSet
.- Parameters:
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 inDelegationSet
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setCallerReference
A unique string that identifies the request to create the hosted zone.
- Parameters:
callerReference
- A unique string that identifies the request to create the hosted zone.
-
getCallerReference
A unique string that identifies the request to create the hosted zone.
- Returns:
- A unique string that identifies the request to create the hosted zone.
-
withCallerReference
A unique string that identifies the request to create the hosted zone.
- Parameters:
callerReference
- A unique string that identifies the request to create the hosted zone.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setConfig
A complex type that contains the
Comment
element.- Parameters:
config
- A complex type that contains theComment
element.
-
getConfig
A complex type that contains the
Comment
element.- Returns:
- A complex type that contains the
Comment
element.
-
withConfig
A complex type that contains the
Comment
element.- Parameters:
config
- A complex type that contains theComment
element.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setResourceRecordSetCount
Total number of resource record sets in the hosted zone.
- Parameters:
resourceRecordSetCount
- Total number of resource record sets in the hosted zone.
-
getResourceRecordSetCount
Total number of resource record sets in the hosted zone.
- Returns:
- Total number of resource record sets in the hosted zone.
-
withResourceRecordSetCount
Total number of resource record sets in the hosted zone.
- Parameters:
resourceRecordSetCount
- Total number of resource record sets in the hosted zone.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-