@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateDomainRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Container for the parameters to the CreateDomain
operation. Specifies a name for the new search
domain.
NOOP
Constructor and Description |
---|
CreateDomainRequest() |
Modifier and Type | Method and Description |
---|---|
CreateDomainRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
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.
|
CreateDomainRequest |
withDomainName(String domainName)
A name for the domain you are creating.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
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.
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 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(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 String toString()
toString
in class Object
Object.toString()
public CreateDomainRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()