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 and Comment elements from the XML document.

See Also:
  • Constructor Details

    • HostedZoneConfig

      public HostedZoneConfig()
  • Method Details

    • 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 and Comment 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 the HostedZoneConfig and Comment 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 and Comment 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 and Comment 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 and Comment 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 the HostedZoneConfig and Comment 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 class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public HostedZoneConfig clone()
      Overrides:
      clone in class Object