Class DelegationSet

    • Constructor Detail

      • DelegationSet

        public DelegationSet()
        Default constructor for DelegationSet object. Callers should use the setter or fluent setter (with...) methods to initialize the object after creating it.
      • DelegationSet

        public DelegationSet​(List<String> nameServers)
        Constructs a new DelegationSet object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.
        Parameters:
        nameServers - A complex type that contains the authoritative name servers for the hosted zone. Use the method provided by your domain registrar to add an NS record to your domain for each NameServer that is assigned to your hosted zone.
    • Method Detail

      • setId

        public void setId​(String id)
        Parameters:
        id -
      • getId

        public String getId()
        Returns:
      • withId

        public DelegationSet withId​(String id)
        Parameters:
        id -
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setCallerReference

        public void setCallerReference​(String callerReference)
        Parameters:
        callerReference -
      • getCallerReference

        public String getCallerReference()
        Returns:
      • withCallerReference

        public DelegationSet withCallerReference​(String callerReference)
        Parameters:
        callerReference -
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getNameServers

        public List<String> getNameServers()

        A complex type that contains the authoritative name servers for the hosted zone. Use the method provided by your domain registrar to add an NS record to your domain for each NameServer that is assigned to your hosted zone.

        Returns:
        A complex type that contains the authoritative name servers for the hosted zone. Use the method provided by your domain registrar to add an NS record to your domain for each NameServer that is assigned to your hosted zone.
      • setNameServers

        public void setNameServers​(Collection<String> nameServers)

        A complex type that contains the authoritative name servers for the hosted zone. Use the method provided by your domain registrar to add an NS record to your domain for each NameServer that is assigned to your hosted zone.

        Parameters:
        nameServers - A complex type that contains the authoritative name servers for the hosted zone. Use the method provided by your domain registrar to add an NS record to your domain for each NameServer that is assigned to your hosted zone.
      • withNameServers

        public DelegationSet withNameServers​(String... nameServers)

        A complex type that contains the authoritative name servers for the hosted zone. Use the method provided by your domain registrar to add an NS record to your domain for each NameServer that is assigned to your hosted zone.

        NOTE: This method appends the values to the existing list (if any). Use setNameServers(java.util.Collection) or withNameServers(java.util.Collection) if you want to override the existing values.

        Parameters:
        nameServers - A complex type that contains the authoritative name servers for the hosted zone. Use the method provided by your domain registrar to add an NS record to your domain for each NameServer that is assigned to your hosted zone.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • withNameServers

        public DelegationSet withNameServers​(Collection<String> nameServers)

        A complex type that contains the authoritative name servers for the hosted zone. Use the method provided by your domain registrar to add an NS record to your domain for each NameServer that is assigned to your hosted zone.

        Parameters:
        nameServers - A complex type that contains the authoritative name servers for the hosted zone. Use the method provided by your domain registrar to add an NS record to your domain for each NameServer that is assigned to your hosted zone.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • 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