Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.route53.model
Class HostedZone

java.lang.Object
  extended by com.amazonaws.services.route53.model.HostedZone
All Implemented Interfaces:
Serializable

public class HostedZone
extends Object
implements Serializable

A complex type that contain information about the specified hosted zone.

See Also:
Serialized Form

Constructor Summary
HostedZone()
          Default constructor for a new HostedZone object.
HostedZone(String id, String name, String callerReference)
          Constructs a new HostedZone object.
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

HostedZone

public HostedZone()
Default constructor for a new HostedZone object. Callers should use the setter or fluent setter (with...) methods to initialize this object after creating it.


HostedZone

public HostedZone(String id,
                  String name,
                  String callerReference)
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; 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.
Method Detail

getId

public String getId()
The ID of the specified hosted zone.

Constraints:
Length: 0 - 32

Returns:
The ID of the specified hosted zone.

setId

public void setId(String id)
The ID of the specified hosted zone.

Constraints:
Length: 0 - 32

Parameters:
id - The ID of the specified hosted zone.

withId

public HostedZone withId(String id)
The ID of the specified hosted zone.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Length: 0 - 32

Parameters:
id - The ID of the specified hosted zone.
Returns:
A reference to this updated object so that method calls can be chained together.

getName

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; 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.

Constraints:
Length: 0 - 1024

Returns:
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.


setName

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; 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.

Constraints:
Length: 0 - 1024

Parameters:
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.


withName

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; 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.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Length: 0 - 1024

Parameters:
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.

Returns:
A reference to this updated object so that method calls can be chained together.

getCallerReference

public String getCallerReference()
A unique string that identifies the request to create the hosted zone.

Constraints:
Length: 1 - 128

Returns:
A unique string that identifies the request to create the hosted zone.

setCallerReference

public void setCallerReference(String callerReference)
A unique string that identifies the request to create the hosted zone.

Constraints:
Length: 1 - 128

Parameters:
callerReference - A unique string that identifies the request to create the hosted zone.

withCallerReference

public HostedZone withCallerReference(String callerReference)
A unique string that identifies the request to create the hosted zone.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Length: 1 - 128

Parameters:
callerReference - A unique string that identifies the request to create the hosted zone.
Returns:
A reference to this updated object so that method calls can be chained together.

getConfig

public HostedZoneConfig getConfig()
A complex type that contains the Comment element.

Returns:
A complex type that contains the Comment element.

setConfig

public void setConfig(HostedZoneConfig config)
A complex type that contains the Comment element.

Parameters:
config - A complex type that contains the Comment element.

withConfig

public HostedZone withConfig(HostedZoneConfig config)
A complex type that contains the Comment element.

Returns a reference to this object so that method calls can be chained together.

Parameters:
config - A complex type that contains the Comment element.
Returns:
A reference to this updated object so that method calls can be chained together.

getResourceRecordSetCount

public Long getResourceRecordSetCount()
Total number of resource record sets in the hosted zone.

Returns:
Total number of resource record sets in the hosted zone.

setResourceRecordSetCount

public void setResourceRecordSetCount(Long resourceRecordSetCount)
Total number of resource record sets in the hosted zone.

Parameters:
resourceRecordSetCount - Total number of resource record sets in the hosted zone.

withResourceRecordSetCount

public HostedZone withResourceRecordSetCount(Long resourceRecordSetCount)
Total number of resource record sets in the hosted zone.

Returns a reference to this object so that method calls can be chained together.

Parameters:
resourceRecordSetCount - Total number of resource record sets in the hosted zone.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.