public class HostedZoneConfig
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
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.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
comment
An optional comment about your hosted zone.
|
private java.lang.Boolean |
privateZone |
Constructor and Description |
---|
HostedZoneConfig() |
Modifier and Type | Method and Description |
---|---|
HostedZoneConfig |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getComment()
An optional comment about your hosted zone.
|
java.lang.Boolean |
getPrivateZone() |
int |
hashCode() |
java.lang.Boolean |
isPrivateZone() |
void |
setComment(java.lang.String comment)
An optional comment about your hosted zone.
|
void |
setPrivateZone(java.lang.Boolean privateZone) |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
HostedZoneConfig |
withComment(java.lang.String comment)
An optional comment about your hosted zone.
|
HostedZoneConfig |
withPrivateZone(java.lang.Boolean privateZone) |
private java.lang.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.
private java.lang.Boolean privateZone
public void setComment(java.lang.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.
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 java.lang.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.
HostedZoneConfig
and Comment
elements from the XML document.public HostedZoneConfig withComment(java.lang.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.
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 void setPrivateZone(java.lang.Boolean privateZone)
privateZone
- public java.lang.Boolean getPrivateZone()
public HostedZoneConfig withPrivateZone(java.lang.Boolean privateZone)
privateZone
- public java.lang.Boolean isPrivateZone()
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public HostedZoneConfig clone()
clone
in class java.lang.Object