com.amazonaws.services.route53.model
Class HostedZoneConfig

java.lang.Object
  extended by com.amazonaws.services.route53.model.HostedZoneConfig

public class HostedZoneConfig
extends Object

A complex type that contains an optional comment about your hosted zone. If you don't want to specify a comment, you can omit the HostedZoneConfig and Comment elements from the XML document.


Constructor Summary
HostedZoneConfig()
          Default constructor for a new HostedZoneConfig object.
 
Method Summary
 String getComment()
          An optional comment about your hosted zone.
 void setComment(String comment)
          An optional comment about your hosted zone.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 HostedZoneConfig withComment(String comment)
          An optional comment about your hosted zone.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

HostedZoneConfig

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

Method Detail

getComment

public String getComment()
An optional comment about your hosted zone. If you don't want to specify a comment, you can omit the HostedZoneConfig and Comment elements from the XML document.

Constraints:
Length: 0 - 256

Returns:
An optional comment about your hosted zone. If you don't want to specify a comment, you can omit the HostedZoneConfig and Comment elements from the XML document.

setComment

public void setComment(String comment)
An optional comment about your hosted zone. If you don't want to specify a comment, you can omit the HostedZoneConfig and Comment elements from the XML document.

Constraints:
Length: 0 - 256

Parameters:
comment - An optional comment about your hosted zone. If you don't want to specify a comment, you can omit the HostedZoneConfig and Comment elements from the XML document.

withComment

public HostedZoneConfig withComment(String comment)
An optional comment about your hosted zone. If you don't want to specify a comment, you can omit the HostedZoneConfig and Comment elements from the XML document.

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

Constraints:
Length: 0 - 256

Parameters:
comment - An optional comment about your hosted zone. If you don't want to specify a comment, you can omit the HostedZoneConfig and Comment elements from the XML document.
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.