public class CreateDomainRequest extends AmazonWebServiceRequest implements Serializable
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 |
---|---|
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.
|
copyPrivateRequestParameters, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, 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()
Copyright © 2014. All rights reserved.