Class 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:
    Serialized Form
    • Constructor Detail

      • HostedZoneConfig

        public HostedZoneConfig()
    • 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 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:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object