com.amazonaws.services.cloudsearchv2.model
Class CreateDomainRequest

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

public class CreateDomainRequest
extends AmazonWebServiceRequest
implements Serializable

Container for the parameters to the CreateDomain operation.

Creates a new search domain. For more information, see Creating a Search Domain in the Amazon CloudSearch Developer Guide .

See Also:
AmazonCloudSearch.createDomain(CreateDomainRequest), Serialized Form

Constructor Summary
CreateDomainRequest()
           
 
Method Summary
 boolean equals(Object obj)
           
 String getDomainName()
          A name for the domain you are creating.
 int hashCode()
           
 void setDomainName(String domainName)
          A name for the domain you are creating.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 CreateDomainRequest withDomainName(String domainName)
          A name for the domain you are creating.
 
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

CreateDomainRequest

public CreateDomainRequest()
Method Detail

getDomainName

public String getDomainName()
A name for the domain you are creating. Allowed characters are a-z (lower-case letters), 0-9, and hyphen (-). Domain names must start with a letter or number and be at least 3 and no more than 28 characters long.

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

Returns:
A name for the domain you are creating. Allowed characters are a-z (lower-case letters), 0-9, and hyphen (-). Domain names must start with a letter or number and be at least 3 and no more than 28 characters long.

setDomainName

public void setDomainName(String domainName)
A name for the domain you are creating. Allowed characters are a-z (lower-case letters), 0-9, and hyphen (-). Domain names must start with a letter or number and be at least 3 and no more than 28 characters long.

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

Parameters:
domainName - A name for the domain you are creating. Allowed characters are a-z (lower-case letters), 0-9, and hyphen (-). Domain names must start with a letter or number and be at least 3 and no more than 28 characters long.

withDomainName

public CreateDomainRequest withDomainName(String domainName)
A name for the domain you are creating. Allowed characters are a-z (lower-case letters), 0-9, and hyphen (-). Domain names must start with a letter or number and be at least 3 and no more than 28 characters long.

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 - A name for the domain you are creating. Allowed characters are a-z (lower-case letters), 0-9, and hyphen (-). Domain names must start with a letter or number and be at least 3 and no more than 28 characters long.
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.