Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.route53.model
Class GetHostedZoneRequest

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

public class GetHostedZoneRequest
extends AmazonWebServiceRequest
implements Serializable

Container for the parameters to the GetHostedZone operation.

To retrieve the delegation set for a hosted zone, send a GET request to the 2012-12-12/hostedzone/hosted zone ID resource. The delegation set is the four Route 53 name servers that were assigned to the hosted zone when you created it.

See Also:
AmazonRoute53.getHostedZone(GetHostedZoneRequest), Serialized Form

Constructor Summary
GetHostedZoneRequest()
          Default constructor for a new GetHostedZoneRequest object.
GetHostedZoneRequest(String id)
          Constructs a new GetHostedZoneRequest object.
 
Method Summary
 boolean equals(Object obj)
           
 String getId()
          The ID of the hosted zone for which you want to get a list of the name servers in the delegation set.
 int hashCode()
           
 void setId(String id)
          The ID of the hosted zone for which you want to get a list of the name servers in the delegation set.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 GetHostedZoneRequest withId(String id)
          The ID of the hosted zone for which you want to get a list of the name servers in the delegation set.
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GetHostedZoneRequest

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


GetHostedZoneRequest

public GetHostedZoneRequest(String id)
Constructs a new GetHostedZoneRequest object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.

Parameters:
id - The ID of the hosted zone for which you want to get a list of the name servers in the delegation set.
Method Detail

getId

public String getId()
The ID of the hosted zone for which you want to get a list of the name servers in the delegation set.

Constraints:
Length: 0 - 32

Returns:
The ID of the hosted zone for which you want to get a list of the name servers in the delegation set.

setId

public void setId(String id)
The ID of the hosted zone for which you want to get a list of the name servers in the delegation set.

Constraints:
Length: 0 - 32

Parameters:
id - The ID of the hosted zone for which you want to get a list of the name servers in the delegation set.

withId

public GetHostedZoneRequest withId(String id)
The ID of the hosted zone for which you want to get a list of the name servers in the delegation set.

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

Constraints:
Length: 0 - 32

Parameters:
id - The ID of the hosted zone for which you want to get a list of the name servers in the delegation set.
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.