public class HostedZoneConfig extends Object implements Serializable, 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.
| Constructor and Description |
|---|
HostedZoneConfig() |
| Modifier and Type | Method and Description |
|---|---|
HostedZoneConfig |
clone() |
boolean |
equals(Object obj) |
String |
getComment()
An optional comment about your hosted zone.
|
Boolean |
getPrivateZone()
GetHostedZone and ListHostedZone responses: A
Boolean value that indicates whether a hosted zone is private. |
int |
hashCode() |
Boolean |
isPrivateZone()
GetHostedZone and ListHostedZone responses: A
Boolean value that indicates whether a hosted zone is private. |
void |
setComment(String comment)
An optional comment about your hosted zone.
|
void |
setPrivateZone(Boolean privateZone)
GetHostedZone and ListHostedZone responses: A
Boolean value that indicates whether a hosted zone is private. |
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)
GetHostedZone and ListHostedZone responses: A
Boolean value that indicates whether a hosted zone is private. |
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.
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 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(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(Boolean privateZone)
GetHostedZone and ListHostedZone responses: A
Boolean value that indicates whether a hosted zone is private.
CreateHostedZone requests: When you're creating a private
hosted zone (when you specify values for VPCId and VPCRegion), you can
optionally specify true for PrivateZone.
privateZone - GetHostedZone and ListHostedZone responses: A
Boolean value that indicates whether a hosted zone is private.
CreateHostedZone
public Boolean getPrivateZone()
GetHostedZone and ListHostedZone responses: A
Boolean value that indicates whether a hosted zone is private.
CreateHostedZone requests: When you're creating a private
hosted zone (when you specify values for VPCId and VPCRegion), you can
optionally specify true for PrivateZone.
ListHostedZone responses: A
Boolean value that indicates whether a hosted zone is
private.
CreateHostedZone
public HostedZoneConfig withPrivateZone(Boolean privateZone)
GetHostedZone and ListHostedZone responses: A
Boolean value that indicates whether a hosted zone is private.
CreateHostedZone requests: When you're creating a private
hosted zone (when you specify values for VPCId and VPCRegion), you can
optionally specify true for PrivateZone.
privateZone - GetHostedZone and ListHostedZone responses: A
Boolean value that indicates whether a hosted zone is private.
CreateHostedZone
public Boolean isPrivateZone()
GetHostedZone and ListHostedZone responses: A
Boolean value that indicates whether a hosted zone is private.
CreateHostedZone requests: When you're creating a private
hosted zone (when you specify values for VPCId and VPCRegion), you can
optionally specify true for PrivateZone.
ListHostedZone responses: A
Boolean value that indicates whether a hosted zone is
private.
CreateHostedZone
public String toString()
toString in class ObjectObject.toString()public HostedZoneConfig clone()
Copyright © 2016. All rights reserved.