com.amazonaws.services.route53.model
Class DelegationSet

java.lang.Object
  extended by com.amazonaws.services.route53.model.DelegationSet

public class DelegationSet
extends Object

A complex type that contains name server information.


Constructor Summary
DelegationSet()
          Default constructor for a new DelegationSet object.
DelegationSet(List<String> nameServers)
          Constructs a new DelegationSet object.
 
Method Summary
 boolean equals(Object obj)
           
 List<String> getNameServers()
          A complex type that contains the authoritative name servers for the hosted zone.
 int hashCode()
           
 void setNameServers(Collection<String> nameServers)
          A complex type that contains the authoritative name servers for the hosted zone.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 DelegationSet withNameServers(Collection<String> nameServers)
          A complex type that contains the authoritative name servers for the hosted zone.
 DelegationSet withNameServers(String... nameServers)
          A complex type that contains the authoritative name servers for the hosted zone.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DelegationSet

public DelegationSet()
Default constructor for a new DelegationSet object. Callers should use the setter or fluent setter (with...) methods to initialize this 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

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.

Constraints:
Length: 1 -

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.

Constraints:
Length: 1 -

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.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Length: 1 -

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:
A reference to this updated 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.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Length: 1 -

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:
A reference to this updated 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

equals

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


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.