public class DelegationSet extends Object implements Serializable, Cloneable
A complex type that contains name server information.
Constructor and Description |
---|
DelegationSet()
Default constructor for DelegationSet object.
|
DelegationSet(List<String> nameServers)
Constructs a new DelegationSet object.
|
Modifier and Type | Method and Description |
---|---|
DelegationSet |
clone() |
boolean |
equals(Object obj) |
String |
getCallerReference() |
String |
getId() |
List<String> |
getNameServers()
A complex type that contains the authoritative name servers for the
hosted zone.
|
int |
hashCode() |
void |
setCallerReference(String callerReference) |
void |
setId(String id) |
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 |
withCallerReference(String callerReference) |
DelegationSet |
withId(String id) |
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 void setId(String id)
id
- public String getId()
public DelegationSet withId(String id)
id
- public void setCallerReference(String callerReference)
callerReference
- public String getCallerReference()
public DelegationSet withCallerReference(String callerReference)
callerReference
- 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.
NameServer
that is assigned to your hosted zone.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.
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)
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.
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)
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.
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()
public DelegationSet clone()
Copyright © 2018. All rights reserved.