com.amazonaws.services.cloudsearchv2.model
Class DeleteDomainRequest

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

public class DeleteDomainRequest
extends AmazonWebServiceRequest
implements Serializable

Container for the parameters to the DeleteDomain operation.

Permanently deletes a search domain and all of its data. Once a domain has been deleted, it cannot be recovered. For more information, see Deleting a Search Domain in the Amazon CloudSearch Developer Guide .

See Also:
AmazonCloudSearch.deleteDomain(DeleteDomainRequest), Serialized Form

Constructor Summary
DeleteDomainRequest()
           
 
Method Summary
 boolean equals(Object obj)
           
 String getDomainName()
          The name of the domain you want to permanently delete.
 int hashCode()
           
 void setDomainName(String domainName)
          The name of the domain you want to permanently delete.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 DeleteDomainRequest withDomainName(String domainName)
          The name of the domain you want to permanently delete.
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DeleteDomainRequest

public DeleteDomainRequest()
Method Detail

getDomainName

public String getDomainName()
The name of the domain you want to permanently delete.

Constraints:
Length: 3 - 28
Pattern: [a-z][a-z0-9\-]+

Returns:
The name of the domain you want to permanently delete.

setDomainName

public void setDomainName(String domainName)
The name of the domain you want to permanently delete.

Constraints:
Length: 3 - 28
Pattern: [a-z][a-z0-9\-]+

Parameters:
domainName - The name of the domain you want to permanently delete.

withDomainName

public DeleteDomainRequest withDomainName(String domainName)
The name of the domain you want to permanently delete.

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

Constraints:
Length: 3 - 28
Pattern: [a-z][a-z0-9\-]+

Parameters:
domainName - The name of the domain you want to permanently delete.
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 © 2016. All rights reserved.