@Generated(value="com.amazonaws:aws-java-sdk-code-generator") 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, omit
both the HostedZoneConfig
and Comment
elements.
Constructor and Description |
---|
HostedZoneConfig() |
Modifier and Type | Method and Description |
---|---|
HostedZoneConfig |
clone() |
boolean |
equals(Object obj) |
String |
getComment()
Any comments that you want to include about the 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)
Any comments that you want to include about the 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)
Any comments that you want to include about the hosted zone.
|
HostedZoneConfig |
withPrivateZone(Boolean privateZone)
A value that indicates whether this is a private hosted zone.
|
public void setComment(String comment)
Any comments that you want to include about the hosted zone.
comment
- Any comments that you want to include about the hosted zone.public String getComment()
Any comments that you want to include about the hosted zone.
public HostedZoneConfig withComment(String comment)
Any comments that you want to include about the hosted zone.
comment
- Any comments that you want to include about the hosted zone.public void setPrivateZone(Boolean privateZone)
A value that indicates whether this is a private hosted zone.
privateZone
- A value that indicates whether this is a private hosted zone.public Boolean getPrivateZone()
A value that indicates whether this is a private hosted zone.
public HostedZoneConfig withPrivateZone(Boolean privateZone)
A value that indicates whether this is a private hosted zone.
privateZone
- A value that indicates whether this is a private hosted zone.public Boolean isPrivateZone()
A value that indicates whether this is a private hosted zone.
public String toString()
toString
in class Object
Object.toString()
public HostedZoneConfig clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.