public class DelegationSet extends Object implements Serializable
A complex type that contains name server information.
Constructor and Description |
---|
DelegationSet()
Default constructor for a new DelegationSet object.
|
DelegationSet(List<String> nameServers)
Constructs a new DelegationSet object.
|
Modifier and Type | Method and Description |
---|---|
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.
|
public DelegationSet()
public DelegationSet(List<String> nameServers)
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.public List<String> getNameServers()
NameServer
that is
assigned to your hosted zone.
Constraints:
Length: 1 -
NameServer
that is
assigned to your hosted zone.public void setNameServers(Collection<String> nameServers)
NameServer
that is
assigned to your hosted zone.
Constraints:
Length: 1 -
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.public DelegationSet withNameServers(String... nameServers)
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 -
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.public DelegationSet withNameServers(Collection<String> nameServers)
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 -
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.public String toString()
toString
in class Object
Object.toString()
Copyright © 2015. All rights reserved.