Class DescribeDomainsRequest

java.lang.Object
com.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.cloudsearchv2.model.DescribeDomainsRequest
All Implemented Interfaces:
ReadLimitInfo, Serializable, Cloneable

public class DescribeDomainsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable

Container for the parameters to the DescribeDomains operation. By default shows the status of all domains. To restrict the response to particular domains, specify the names of the domains you want to describe.

See Also:
  • Constructor Details

    • DescribeDomainsRequest

      public DescribeDomainsRequest()
  • Method Details

    • getDomainNames

      public List<String> getDomainNames()

      The names of the domains you want to include in the response.

      Returns:
      The names of the domains you want to include in the response.
    • setDomainNames

      public void setDomainNames(Collection<String> domainNames)

      The names of the domains you want to include in the response.

      Parameters:
      domainNames - The names of the domains you want to include in the response.
    • withDomainNames

      public DescribeDomainsRequest withDomainNames(String... domainNames)

      The names of the domains you want to include in the response.

      NOTE: This method appends the values to the existing list (if any). Use setDomainNames(java.util.Collection) or withDomainNames(java.util.Collection) if you want to override the existing values.

      Parameters:
      domainNames - The names of the domains you want to include in the response.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • withDomainNames

      public DescribeDomainsRequest withDomainNames(Collection<String> domainNames)

      The names of the domains you want to include in the response.

      Parameters:
      domainNames - The names of the domains you want to include in the response.
      Returns:
      Returns a reference to this 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:
    • equals

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

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public DescribeDomainsRequest clone()
      Description copied from class: AmazonWebServiceRequest
      Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.
      Overrides:
      clone in class AmazonWebServiceRequest
      See Also: