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.
|
Boolean |
getPrivateZone()
A value that indicates whether this is a private hosted zone.
|
int |
hashCode() |
Boolean |
isPrivateZone()
A value that indicates whether this is a private hosted zone.
|
void |
setComment(String comment)
An optional comment about your hosted zone.
|
void |
setPrivateZone(Boolean privateZone)
A value that indicates whether this is a private 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.
|
HostedZoneConfig |
withPrivateZone(Boolean privateZone)
A value that indicates whether this is a private 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 Boolean isPrivateZone()
public void setPrivateZone(Boolean privateZone)
privateZone - A value that indicates whether this is a private hosted zone. The
value is returned in the response; do not specify it in the request.public HostedZoneConfig withPrivateZone(Boolean privateZone)
Returns a reference to this object so that method calls can be chained together.
privateZone - A value that indicates whether this is a private hosted zone. The
value is returned in the response; do not specify it in the request.public Boolean getPrivateZone()
public String toString()
toString in class ObjectObject.toString()Copyright © 2014. All rights reserved.