public class HostedZone
extends java.lang.Object
implements java.io.Serializable
A complex type that contain information about the specified hosted zone.
| コンストラクタと説明 |
|---|
HostedZone()
Default constructor for a new HostedZone object.
|
HostedZone(java.lang.String id,
java.lang.String name,
java.lang.String callerReference)
Constructs a new HostedZone object.
|
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getCallerReference()
A unique string that identifies the request to create the hosted zone.
|
HostedZoneConfig |
getConfig()
A complex type that contains the
Comment element. |
java.lang.String |
getId()
The ID of the specified hosted zone.
|
java.lang.String |
getName()
The name of the domain.
|
java.lang.Long |
getResourceRecordSetCount()
Total number of resource record sets in the hosted zone.
|
int |
hashCode() |
void |
setCallerReference(java.lang.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(java.lang.String id)
The ID of the specified hosted zone.
|
void |
setName(java.lang.String name)
The name of the domain.
|
void |
setResourceRecordSetCount(java.lang.Long resourceRecordSetCount)
Total number of resource record sets in the hosted zone.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
HostedZone |
withCallerReference(java.lang.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(java.lang.String id)
The ID of the specified hosted zone.
|
HostedZone |
withName(java.lang.String name)
The name of the domain.
|
HostedZone |
withResourceRecordSetCount(java.lang.Long resourceRecordSetCount)
Total number of resource record sets in the hosted zone.
|
public HostedZone()
public HostedZone(java.lang.String id,
java.lang.String name,
java.lang.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;
Route 53 assumes that the domain name is fully qualified. This means
that 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 java.lang.String getId()
Constraints:
Length: 0 - 32
public void setId(java.lang.String id)
Constraints:
Length: 0 - 32
id - The ID of the specified hosted zone.public HostedZone withId(java.lang.String id)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 32
id - The ID of the specified hosted zone.public java.lang.String getName()
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.
Constraints:
Length: 0 - 1024
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 setName(java.lang.String name)
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.
Constraints:
Length: 0 - 1024
name - The name of the domain. This must be a fully-specified domain, for
example, www.example.com. The trailing dot is optional; Route 53
assumes that the domain name is fully qualified. This means that 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 HostedZone withName(java.lang.String name)
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.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 1024
name - The name of the domain. This must be a fully-specified domain, for
example, www.example.com. The trailing dot is optional; Route 53
assumes that the domain name is fully qualified. This means that 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 java.lang.String getCallerReference()
Constraints:
Length: 1 - 128
public void setCallerReference(java.lang.String callerReference)
Constraints:
Length: 1 - 128
callerReference - A unique string that identifies the request to create the hosted zone.public HostedZone withCallerReference(java.lang.String callerReference)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 128
callerReference - A unique string that identifies the request to create the hosted zone.public HostedZoneConfig getConfig()
Comment element.Comment element.public void setConfig(HostedZoneConfig config)
Comment element.config - A complex type that contains the Comment element.public HostedZone withConfig(HostedZoneConfig config)
Comment element.
Returns a reference to this object so that method calls can be chained together.
config - A complex type that contains the Comment element.public java.lang.Long getResourceRecordSetCount()
public void setResourceRecordSetCount(java.lang.Long resourceRecordSetCount)
resourceRecordSetCount - Total number of resource record sets in the hosted zone.public HostedZone withResourceRecordSetCount(java.lang.Long resourceRecordSetCount)
Returns a reference to this object so that method calls can be chained together.
resourceRecordSetCount - Total number of resource record sets in the hosted zone.public java.lang.String toString()
toString クラス内 java.lang.ObjectObject.toString()public int hashCode()
hashCode クラス内 java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals クラス内 java.lang.Object