Class HostedZoneConfig
- java.lang.Object
-
- com.amazonaws.services.route53.model.HostedZoneConfig
-
- All Implemented Interfaces:
Serializable,Cloneable
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
HostedZoneConfigandCommentelements from the XML document.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description HostedZoneConfig()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HostedZoneConfigclone()booleanequals(Object obj)StringgetComment()An optional comment about your hosted zone.BooleangetPrivateZone()inthashCode()BooleanisPrivateZone()voidsetComment(String comment)An optional comment about your hosted zone.voidsetPrivateZone(Boolean privateZone)StringtoString()Returns a string representation of this object; useful for testing and debugging.HostedZoneConfigwithComment(String comment)An optional comment about your hosted zone.HostedZoneConfigwithPrivateZone(Boolean privateZone)
-
-
-
Method Detail
-
setComment
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
HostedZoneConfigandCommentelements from the XML document.- Parameters:
comment- An optional comment about your hosted zone. If you don't want to specify a comment, you can omit theHostedZoneConfigandCommentelements from the XML document.
-
getComment
public String getComment()
An optional comment about your hosted zone. If you don't want to specify a comment, you can omit the
HostedZoneConfigandCommentelements from the XML document.- Returns:
- An optional comment about your hosted zone. If you don't want to
specify a comment, you can omit the
HostedZoneConfigandCommentelements from the XML document.
-
withComment
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
HostedZoneConfigandCommentelements from the XML document.- Parameters:
comment- An optional comment about your hosted zone. If you don't want to specify a comment, you can omit theHostedZoneConfigandCommentelements from the XML document.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setPrivateZone
public void setPrivateZone(Boolean privateZone)
- Parameters:
privateZone-
-
getPrivateZone
public Boolean getPrivateZone()
- Returns:
-
withPrivateZone
public HostedZoneConfig withPrivateZone(Boolean privateZone)
- Parameters:
privateZone-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isPrivateZone
public Boolean isPrivateZone()
- Returns:
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public HostedZoneConfig clone()
-
-