@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class HostedZone extends Object implements Serializable, Cloneable
A complex type that contains general information about the 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()
The value that you specified for
CallerReference when you created the hosted zone. |
HostedZoneConfig |
getConfig()
A complex type that includes the
Comment and PrivateZone elements. |
String |
getId()
The ID that Amazon Route 53 assigned to the hosted zone when you created it.
|
String |
getName()
The name of the domain.
|
Long |
getResourceRecordSetCount()
The number of resource record sets in the hosted zone.
|
int |
hashCode() |
void |
setCallerReference(String callerReference)
The value that you specified for
CallerReference when you created the hosted zone. |
void |
setConfig(HostedZoneConfig config)
A complex type that includes the
Comment and PrivateZone elements. |
void |
setId(String id)
The ID that Amazon Route 53 assigned to the hosted zone when you created it.
|
void |
setName(String name)
The name of the domain.
|
void |
setResourceRecordSetCount(Long resourceRecordSetCount)
The 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)
The value that you specified for
CallerReference when you created the hosted zone. |
HostedZone |
withConfig(HostedZoneConfig config)
A complex type that includes the
Comment and PrivateZone elements. |
HostedZone |
withId(String id)
The ID that Amazon Route 53 assigned to the hosted zone when you created it.
|
HostedZone |
withName(String name)
The name of the domain.
|
HostedZone |
withResourceRecordSetCount(Long resourceRecordSetCount)
The number of resource record sets in the hosted zone.
|
public HostedZone()
public HostedZone(String id, String name, String callerReference)
id
- The ID that Amazon Route 53 assigned to the hosted zone when you created it.name
- The name of the domain. For public hosted zones, this is the name that you have registered with your DNS
registrar.
For information about how to specify characters other than a-z
, 0-9
, and
-
(hyphen) and how to specify internationalized domain names, see CreateHostedZone.
callerReference
- The value that you specified for CallerReference
when you created the hosted zone.public void setId(String id)
The ID that Amazon Route 53 assigned to the hosted zone when you created it.
id
- The ID that Amazon Route 53 assigned to the hosted zone when you created it.public String getId()
The ID that Amazon Route 53 assigned to the hosted zone when you created it.
public HostedZone withId(String id)
The ID that Amazon Route 53 assigned to the hosted zone when you created it.
id
- The ID that Amazon Route 53 assigned to the hosted zone when you created it.public void setName(String name)
The name of the domain. For public hosted zones, this is the name that you have registered with your DNS registrar.
For information about how to specify characters other than a-z
, 0-9
, and -
(hyphen) and how to specify internationalized domain names, see CreateHostedZone.
name
- The name of the domain. For public hosted zones, this is the name that you have registered with your DNS
registrar.
For information about how to specify characters other than a-z
, 0-9
, and
-
(hyphen) and how to specify internationalized domain names, see CreateHostedZone.
public String getName()
The name of the domain. For public hosted zones, this is the name that you have registered with your DNS registrar.
For information about how to specify characters other than a-z
, 0-9
, and -
(hyphen) and how to specify internationalized domain names, see CreateHostedZone.
For information about how to specify characters other than a-z
, 0-9
, and
-
(hyphen) and how to specify internationalized domain names, see CreateHostedZone.
public HostedZone withName(String name)
The name of the domain. For public hosted zones, this is the name that you have registered with your DNS registrar.
For information about how to specify characters other than a-z
, 0-9
, and -
(hyphen) and how to specify internationalized domain names, see CreateHostedZone.
name
- The name of the domain. For public hosted zones, this is the name that you have registered with your DNS
registrar.
For information about how to specify characters other than a-z
, 0-9
, and
-
(hyphen) and how to specify internationalized domain names, see CreateHostedZone.
public void setCallerReference(String callerReference)
The value that you specified for CallerReference
when you created the hosted zone.
callerReference
- The value that you specified for CallerReference
when you created the hosted zone.public String getCallerReference()
The value that you specified for CallerReference
when you created the hosted zone.
CallerReference
when you created the hosted zone.public HostedZone withCallerReference(String callerReference)
The value that you specified for CallerReference
when you created the hosted zone.
callerReference
- The value that you specified for CallerReference
when you created the hosted zone.public void setConfig(HostedZoneConfig config)
A complex type that includes the Comment
and PrivateZone
elements. If you omitted the
HostedZoneConfig
and Comment
elements from the request, the Config
and
Comment
elements don't appear in the response.
config
- A complex type that includes the Comment
and PrivateZone
elements. If you
omitted the HostedZoneConfig
and Comment
elements from the request, the
Config
and Comment
elements don't appear in the response.public HostedZoneConfig getConfig()
A complex type that includes the Comment
and PrivateZone
elements. If you omitted the
HostedZoneConfig
and Comment
elements from the request, the Config
and
Comment
elements don't appear in the response.
Comment
and PrivateZone
elements. If you
omitted the HostedZoneConfig
and Comment
elements from the request, the
Config
and Comment
elements don't appear in the response.public HostedZone withConfig(HostedZoneConfig config)
A complex type that includes the Comment
and PrivateZone
elements. If you omitted the
HostedZoneConfig
and Comment
elements from the request, the Config
and
Comment
elements don't appear in the response.
config
- A complex type that includes the Comment
and PrivateZone
elements. If you
omitted the HostedZoneConfig
and Comment
elements from the request, the
Config
and Comment
elements don't appear in the response.public void setResourceRecordSetCount(Long resourceRecordSetCount)
The number of resource record sets in the hosted zone.
resourceRecordSetCount
- The number of resource record sets in the hosted zone.public Long getResourceRecordSetCount()
The number of resource record sets in the hosted zone.
public HostedZone withResourceRecordSetCount(Long resourceRecordSetCount)
The number of resource record sets in the hosted zone.
resourceRecordSetCount
- The number of resource record sets in the hosted zone.public String toString()
toString
in class Object
Object.toString()
public HostedZone clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.