public class DelegationSet
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
A complex type that contains name server information.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
callerReference |
private java.lang.String |
id |
private SdkInternalList<java.lang.String> |
nameServers
A complex type that contains the authoritative name servers for the
hosted zone.
|
Constructor and Description |
---|
DelegationSet()
Default constructor for DelegationSet object.
|
DelegationSet(java.util.List<java.lang.String> nameServers)
Constructs a new DelegationSet object.
|
Modifier and Type | Method and Description |
---|---|
DelegationSet |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getCallerReference() |
java.lang.String |
getId() |
java.util.List<java.lang.String> |
getNameServers()
A complex type that contains the authoritative name servers for the
hosted zone.
|
int |
hashCode() |
void |
setCallerReference(java.lang.String callerReference) |
void |
setId(java.lang.String id) |
void |
setNameServers(java.util.Collection<java.lang.String> nameServers)
A complex type that contains the authoritative name servers for the
hosted zone.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DelegationSet |
withCallerReference(java.lang.String callerReference) |
DelegationSet |
withId(java.lang.String id) |
DelegationSet |
withNameServers(java.util.Collection<java.lang.String> nameServers)
A complex type that contains the authoritative name servers for the
hosted zone.
|
DelegationSet |
withNameServers(java.lang.String... nameServers)
A complex type that contains the authoritative name servers for the
hosted zone.
|
private java.lang.String id
private java.lang.String callerReference
private SdkInternalList<java.lang.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.
public DelegationSet()
public DelegationSet(java.util.List<java.lang.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(java.lang.String id)
id
- public java.lang.String getId()
public DelegationSet withId(java.lang.String id)
id
- public void setCallerReference(java.lang.String callerReference)
callerReference
- public java.lang.String getCallerReference()
public DelegationSet withCallerReference(java.lang.String callerReference)
callerReference
- public java.util.List<java.lang.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(java.util.Collection<java.lang.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(java.lang.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(java.util.Collection<java.lang.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public DelegationSet clone()
clone
in class java.lang.Object