com.amazonaws.services.elasticbeanstalk.model
Class CheckDNSAvailabilityRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.elasticbeanstalk.model.CheckDNSAvailabilityRequest

public class CheckDNSAvailabilityRequest
extends AmazonWebServiceRequest

Container for the parameters to the CheckDNSAvailability operation.

Checks if the specified CNAME is available.

See Also:
AWSElasticBeanstalk.checkDNSAvailability(CheckDNSAvailabilityRequest)

Constructor Summary
CheckDNSAvailabilityRequest()
          Default constructor for a new CheckDNSAvailabilityRequest object.
CheckDNSAvailabilityRequest(String cNAMEPrefix)
          Constructs a new CheckDNSAvailabilityRequest object.
 
Method Summary
 String getCNAMEPrefix()
          The prefix used when this CNAME is reserved.
 void setCNAMEPrefix(String cNAMEPrefix)
          The prefix used when this CNAME is reserved.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 CheckDNSAvailabilityRequest withCNAMEPrefix(String cNAMEPrefix)
          The prefix used when this CNAME is reserved.
 
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

CheckDNSAvailabilityRequest

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


CheckDNSAvailabilityRequest

public CheckDNSAvailabilityRequest(String cNAMEPrefix)
Constructs a new CheckDNSAvailabilityRequest object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.

Parameters:
cNAMEPrefix - The prefix used when this CNAME is reserved.
Method Detail

getCNAMEPrefix

public String getCNAMEPrefix()
The prefix used when this CNAME is reserved.

Constraints:
Length: 4 - 63

Returns:
The prefix used when this CNAME is reserved.

setCNAMEPrefix

public void setCNAMEPrefix(String cNAMEPrefix)
The prefix used when this CNAME is reserved.

Constraints:
Length: 4 - 63

Parameters:
cNAMEPrefix - The prefix used when this CNAME is reserved.

withCNAMEPrefix

public CheckDNSAvailabilityRequest withCNAMEPrefix(String cNAMEPrefix)
The prefix used when this CNAME is reserved.

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

Constraints:
Length: 4 - 63

Parameters:
cNAMEPrefix - The prefix used when this CNAME is reserved.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class Object
Returns:
A string representation of this object.
See Also:
Object.toString()


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