public class CreateDomainRequest extends AmazonWebServiceRequest implements java.io.Serializable
CreateDomain operation
.
The CreateDomain
operation creates a new domain. The
domain name should be unique among the domains associated with the
Access Key ID provided in the request. The CreateDomain
operation may take 10 or more seconds to complete.
NOTE: CreateDomain is an idempotent operation; running it multiple times using the same domain name will not result in an error response.
The client can create up to 100 domains per account.
If the client requires additional domains, go to http://aws.amazon.com/contact-us/simpledb-limit-request/ .
Constructor and Description |
---|
CreateDomainRequest()
Default constructor for a new CreateDomainRequest object.
|
CreateDomainRequest(java.lang.String domainName)
Constructs a new CreateDomainRequest object.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getDomainName()
The name of the domain to create.
|
int |
hashCode() |
void |
setDomainName(java.lang.String domainName)
The name of the domain to create.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateDomainRequest |
withDomainName(java.lang.String domainName)
The name of the domain to create.
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public CreateDomainRequest()
public CreateDomainRequest(java.lang.String domainName)
domainName
- The name of the domain to create. The name can range
between 3 and 255 characters and can contain the following characters:
a-z, A-Z, 0-9, '_', '-', and '.'.public java.lang.String getDomainName()
public void setDomainName(java.lang.String domainName)
domainName
- The name of the domain to create. The name can range between 3 and 255
characters and can contain the following characters: a-z, A-Z, 0-9,
'_', '-', and '.'.public CreateDomainRequest withDomainName(java.lang.String domainName)
Returns a reference to this object so that method calls can be chained together.
domainName
- The name of the domain to create. The name can range between 3 and 255
characters and can contain the following characters: a-z, A-Z, 0-9,
'_', '-', and '.'.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.