public class CreateDomainRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
CreateDomain operation
.
Creates a new search domain. For more information, see Creating a Search Domain in the Amazon CloudSearch Developer Guide .
NOOP
Constructor and Description |
---|
CreateDomainRequest() |
Modifier and Type | Method and Description |
---|---|
CreateDomainRequest |
clone()
Creates a shallow clone of this request.
|
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.
|
copyBaseTo, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public String getDomainName()
Constraints:
Length: 3 - 28
Pattern: [a-z][a-z0-9\-]+
public void setDomainName(String domainName)
Constraints:
Length: 3 - 28
Pattern: [a-z][a-z0-9\-]+
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.public CreateDomainRequest withDomainName(String domainName)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 3 - 28
Pattern: [a-z][a-z0-9\-]+
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.public String toString()
toString
in class Object
Object.toString()
public CreateDomainRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2015. All rights reserved.