com.amazonaws.services.simpledb.model
Class CreateDomainRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.simpledb.model.CreateDomainRequest

public class CreateDomainRequest
extends AmazonWebServiceRequest

Create Domain Request


Constructor Summary
CreateDomainRequest()
          Default constructor for a new CreateDomainRequest object.
CreateDomainRequest(String domainName)
          Constructs a new CreateDomainRequest object and initializes the specified object members.
 
Method Summary
 String getDomainName()
          The name of the domain to create.
 void setDomainName(String domainName)
          The name of the domain to create.
 String toString()
           
 CreateDomainRequest withDomainName(String domainName)
          The name of the domain to create.
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CreateDomainRequest

public CreateDomainRequest()
Default constructor for a new CreateDomainRequest object. Callers should use the setter or fluent setter (with...) methods to initialize this object after creating it.


CreateDomainRequest

public CreateDomainRequest(String domainName)
Constructs a new CreateDomainRequest object and initializes the specified object members. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.

Parameters:
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

getDomainName

public String getDomainName()
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 '.'.

Returns:
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 '.'.

setDomainName

public void setDomainName(String 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 '.'.

Parameters:
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 '.'.

withDomainName

public CreateDomainRequest withDomainName(String 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 '.'.

Returns a reference to this object so that method calls can be chained together.

Parameters:
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 '.'.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.