public class DelegationSet extends Object implements Serializable, Cloneable
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 |
|---|---|
DelegationSet |
clone() |
boolean |
equals(Object obj) |
String |
getCallerReference()
Returns the value of the CallerReference property for this object.
|
String |
getId()
Returns the value of the Id property for this object.
|
List<String> |
getNameServers()
A complex type that contains the authoritative name servers for the
hosted zone.
|
int |
hashCode() |
void |
setCallerReference(String callerReference)
Sets the value of the CallerReference property for this object.
|
void |
setId(String id)
Sets the value of the Id property for this object.
|
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)
Sets the value of the CallerReference property for this object.
|
DelegationSet |
withId(String id)
Sets the value of the Id property for this object.
|
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 String getId()
Constraints:
Length: 0 - 32
public void setId(String id)
Constraints:
Length: 0 - 32
id - The new value for the Id property for this object.public DelegationSet withId(String id)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 32
id - The new value for the Id property for this object.public String getCallerReference()
Constraints:
Length: 1 - 128
public void setCallerReference(String callerReference)
Constraints:
Length: 1 - 128
callerReference - The new value for the CallerReference property for this object.public DelegationSet withCallerReference(String callerReference)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 128
callerReference - The new value for the CallerReference property for this object.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.
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.
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 ObjectObject.toString()public DelegationSet clone()
Copyright © 2015. All rights reserved.