public class DelegationSet extends Object implements Serializable, Cloneable
A complex type that describes the name servers for this hosted zone.
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()
A unique string that identifies the request, and that allows you to retry failed
CreateReusableDelegationSet requests without the risk of executing the operation twice. |
String |
getId()
The ID that Amazon Route 53 assigns to a reusable delegation set.
|
List<String> |
getNameServers()
A complex type that contains a list of the authoritative name servers for the hosted zone.
|
int |
hashCode() |
void |
setCallerReference(String callerReference)
A unique string that identifies the request, and that allows you to retry failed
CreateReusableDelegationSet requests without the risk of executing the operation twice. |
void |
setId(String id)
The ID that Amazon Route 53 assigns to a reusable delegation set.
|
void |
setNameServers(Collection<String> nameServers)
A complex type that contains a list of 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)
A unique string that identifies the request, and that allows you to retry failed
CreateReusableDelegationSet requests without the risk of executing the operation twice. |
DelegationSet |
withId(String id)
The ID that Amazon Route 53 assigns to a reusable delegation set.
|
DelegationSet |
withNameServers(Collection<String> nameServers)
A complex type that contains a list of the authoritative name servers for the hosted zone.
|
DelegationSet |
withNameServers(String... nameServers)
A complex type that contains a list of the authoritative name servers for the hosted zone.
|
public DelegationSet()
public DelegationSet(List<String> nameServers)
nameServers
- A complex type that contains a list of the authoritative name servers for the hosted zone.public void setId(String id)
The ID that Amazon Route 53 assigns to a reusable delegation set.
id
- The ID that Amazon Route 53 assigns to a reusable delegation set.public String getId()
The ID that Amazon Route 53 assigns to a reusable delegation set.
public DelegationSet withId(String id)
The ID that Amazon Route 53 assigns to a reusable delegation set.
id
- The ID that Amazon Route 53 assigns to a reusable delegation set.public void setCallerReference(String callerReference)
A unique string that identifies the request, and that allows you to retry failed
CreateReusableDelegationSet
requests without the risk of executing the operation twice. You must use
a unique CallerReference
string every time you submit a CreateReusableDelegationSet
request. CallerReference
can be any unique string, for example, a date/time stamp.
callerReference
- A unique string that identifies the request, and that allows you to retry failed
CreateReusableDelegationSet
requests without the risk of executing the operation twice. You
must use a unique CallerReference
string every time you submit a
CreateReusableDelegationSet
request. CallerReference
can be any unique string,
for example, a date/time stamp.public String getCallerReference()
A unique string that identifies the request, and that allows you to retry failed
CreateReusableDelegationSet
requests without the risk of executing the operation twice. You must use
a unique CallerReference
string every time you submit a CreateReusableDelegationSet
request. CallerReference
can be any unique string, for example, a date/time stamp.
CreateReusableDelegationSet
requests without the risk of executing the operation twice. You
must use a unique CallerReference
string every time you submit a
CreateReusableDelegationSet
request. CallerReference
can be any unique string,
for example, a date/time stamp.public DelegationSet withCallerReference(String callerReference)
A unique string that identifies the request, and that allows you to retry failed
CreateReusableDelegationSet
requests without the risk of executing the operation twice. You must use
a unique CallerReference
string every time you submit a CreateReusableDelegationSet
request. CallerReference
can be any unique string, for example, a date/time stamp.
callerReference
- A unique string that identifies the request, and that allows you to retry failed
CreateReusableDelegationSet
requests without the risk of executing the operation twice. You
must use a unique CallerReference
string every time you submit a
CreateReusableDelegationSet
request. CallerReference
can be any unique string,
for example, a date/time stamp.public List<String> getNameServers()
A complex type that contains a list of the authoritative name servers for the hosted zone.
public void setNameServers(Collection<String> nameServers)
A complex type that contains a list of the authoritative name servers for the hosted zone.
nameServers
- A complex type that contains a list of the authoritative name servers for the hosted zone.public DelegationSet withNameServers(String... nameServers)
A complex type that contains a list of the authoritative name servers for the 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 a list of the authoritative name servers for the hosted zone.public DelegationSet withNameServers(Collection<String> nameServers)
A complex type that contains a list of the authoritative name servers for the hosted zone.
nameServers
- A complex type that contains a list of the authoritative name servers for the hosted zone.public String toString()
toString
in class Object
Object.toString()
public DelegationSet clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.