public class CreateDomainRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Container for the parameters to the CreateDomain
operation. Specifies a name for the new search domain.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
domainName
A name for the domain you are creating.
|
NOOP
Constructor and Description |
---|
CreateDomainRequest() |
Modifier and Type | Method and Description |
---|---|
CreateDomainRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getDomainName()
A name for the domain you are creating.
|
int |
hashCode() |
void |
setDomainName(java.lang.String domainName)
A name for the domain you are creating.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateDomainRequest |
withDomainName(java.lang.String domainName)
A name for the domain you are creating.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
private java.lang.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.
public void setDomainName(java.lang.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.
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 java.lang.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.
public CreateDomainRequest withDomainName(java.lang.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.
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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public CreateDomainRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()