|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.simpledb.model.CreateDomainRequest
public class CreateDomainRequest
Container for the parameters to the 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/ .
AmazonSimpleDB.createDomain(CreateDomainRequest)
Constructor Summary | |
---|---|
CreateDomainRequest()
Default constructor for a new CreateDomainRequest object. |
|
CreateDomainRequest(String domainName)
Constructs a new CreateDomainRequest object. |
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
String |
getDomainName()
The name of the domain to create. |
int |
hashCode()
|
void |
setDomainName(String domainName)
The name of the domain to create. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
CreateDomainRequest |
withDomainName(String domainName)
The name of the domain to create. |
Methods inherited from class com.amazonaws.AmazonWebServiceRequest |
---|
copyPrivateRequestParameters, getDelegationToken, getRequestClientOptions, getRequestCredentials, setDelegationToken, setRequestCredentials |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public CreateDomainRequest()
public CreateDomainRequest(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 '.'.Method Detail |
---|
public String getDomainName()
public void setDomainName(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(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 String toString()
toString
in class Object
Object.toString()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |