com.amazonaws.services.simpledb.model
Class DomainMetadataRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.simpledb.model.DomainMetadataRequest

public class DomainMetadataRequest
extends AmazonWebServiceRequest

Container for the parameters to the DomainMetadata operation.

Returns information about the domain, including when the domain was created, the number of items and attributes in the domain, and the size of the attribute names and values.

See Also:
AmazonSimpleDB.domainMetadata(DomainMetadataRequest)

Constructor Summary
DomainMetadataRequest()
          Default constructor for a new DomainMetadataRequest object.
DomainMetadataRequest(String domainName)
          Constructs a new DomainMetadataRequest object.
 
Method Summary
 boolean equals(Object obj)
           
 String getDomainName()
          The name of the domain for which to display the metadata of.
 int hashCode()
           
 void setDomainName(String domainName)
          The name of the domain for which to display the metadata of.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 DomainMetadataRequest withDomainName(String domainName)
          The name of the domain for which to display the metadata of.
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters, getDelegationToken, getRequestClientOptions, getRequestCredentials, setDelegationToken, setRequestCredentials
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DomainMetadataRequest

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


DomainMetadataRequest

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

Parameters:
domainName - The name of the domain for which to display the metadata of.
Method Detail

getDomainName

public String getDomainName()
The name of the domain for which to display the metadata of.

Returns:
The name of the domain for which to display the metadata of.

setDomainName

public void setDomainName(String domainName)
The name of the domain for which to display the metadata of.

Parameters:
domainName - The name of the domain for which to display the metadata of.

withDomainName

public DomainMetadataRequest withDomainName(String domainName)
The name of the domain for which to display the metadata of.

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

Parameters:
domainName - The name of the domain for which to display the metadata of.
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.