Class DelegationSet

java.lang.Object
com.amazonaws.services.route53.model.DelegationSet
All Implemented Interfaces:
Serializable, Cloneable

public class DelegationSet extends Object implements Serializable, Cloneable

A complex type that contains name server information.

See Also:
  • Constructor Details

    • 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 Details

    • 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:
    • equals

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

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

      public DelegationSet clone()
      Overrides:
      clone in class Object