public class HostedZoneConfig extends Object implements Serializable
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 and Description |
---|
HostedZoneConfig()
Default constructor for a new HostedZoneConfig object.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getComment()
An optional comment about your hosted zone.
|
int |
hashCode() |
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.
|
public HostedZoneConfig()
public String getComment()
HostedZoneConfig
and
Comment
elements from the XML document.
Constraints:
Length: 0 - 256
HostedZoneConfig
and
Comment
elements from the XML document.public void setComment(String comment)
HostedZoneConfig
and
Comment
elements from the XML document.
Constraints:
Length: 0 - 256
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.public HostedZoneConfig withComment(String comment)
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
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.public String toString()
toString
in class Object
Object.toString()
Copyright © 2016. All rights reserved.