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
HostedZoneConfig
andComment
elements 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 HostedZoneConfig
clone()
boolean
equals(Object obj)
String
getComment()
An optional comment about your hosted zone.Boolean
getPrivateZone()
int
hashCode()
Boolean
isPrivateZone()
void
setComment(String comment)
An optional comment about your hosted zone.void
setPrivateZone(Boolean privateZone)
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)
-
-
-
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
HostedZoneConfig
andComment
elements 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 theHostedZoneConfig
andComment
elements 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
HostedZoneConfig
andComment
elements 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
HostedZoneConfig
andComment
elements 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
HostedZoneConfig
andComment
elements 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 theHostedZoneConfig
andComment
elements 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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public HostedZoneConfig clone()
-
-