@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DelegationSet extends Object implements Serializable, Cloneable
A complex type that lists the name servers in a delegation set, as well as the CallerReference
and the
ID
for the delegation set.
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()
The value that you specified for
CallerReference when you created the reusable delegation set. |
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 a hosted zone or for a reusable
delegation set.
|
int |
hashCode() |
void |
setCallerReference(String callerReference)
The value that you specified for
CallerReference when you created the reusable delegation set. |
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 a hosted zone or for a reusable
delegation set.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
DelegationSet |
withCallerReference(String callerReference)
The value that you specified for
CallerReference when you created the reusable delegation set. |
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 a hosted zone or for a reusable
delegation set.
|
DelegationSet |
withNameServers(String... nameServers)
A complex type that contains a list of the authoritative name servers for a hosted zone or for a reusable
delegation set.
|
public DelegationSet()
public DelegationSet(List<String> nameServers)
nameServers
- A complex type that contains a list of the authoritative name servers for a hosted zone or for a reusable
delegation set.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)
The value that you specified for CallerReference
when you created the reusable delegation set.
callerReference
- The value that you specified for CallerReference
when you created the reusable delegation
set.public String getCallerReference()
The value that you specified for CallerReference
when you created the reusable delegation set.
CallerReference
when you created the reusable delegation
set.public DelegationSet withCallerReference(String callerReference)
The value that you specified for CallerReference
when you created the reusable delegation set.
callerReference
- The value that you specified for CallerReference
when you created the reusable delegation
set.public List<String> getNameServers()
A complex type that contains a list of the authoritative name servers for a hosted zone or for a reusable delegation set.
public void setNameServers(Collection<String> nameServers)
A complex type that contains a list of the authoritative name servers for a hosted zone or for a reusable delegation set.
nameServers
- A complex type that contains a list of the authoritative name servers for a hosted zone or for a reusable
delegation set.public DelegationSet withNameServers(String... nameServers)
A complex type that contains a list of the authoritative name servers for a hosted zone or for a reusable delegation set.
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 a hosted zone or for a reusable
delegation set.public DelegationSet withNameServers(Collection<String> nameServers)
A complex type that contains a list of the authoritative name servers for a hosted zone or for a reusable delegation set.
nameServers
- A complex type that contains a list of the authoritative name servers for a hosted zone or for a reusable
delegation set.public String toString()
toString
in class Object
Object.toString()
public DelegationSet clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.