public class UpdateDomainNameserversRequest extends AmazonWebServiceRequest implements Serializable
UpdateDomainNameservers operation
.
This operation replaces the current set of name servers for the domain with the specified set of name servers. If you use Amazon Route 53 as your DNS service, specify the four name servers in the delegation set for the hosted zone for the domain.
If successful, this operation returns an operation ID that you can use to track the progress and completion of the action. If the request is not completed successfully, the domain registrant will be notified by email.
NOOP
Constructor and Description |
---|
UpdateDomainNameserversRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getDomainName()
The name of a domain.
|
List<Nameserver> |
getNameservers()
A list of new name servers for the domain.
|
int |
hashCode() |
void |
setDomainName(String domainName)
The name of a domain.
|
void |
setNameservers(Collection<Nameserver> nameservers)
A list of new name servers for the domain.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
UpdateDomainNameserversRequest |
withDomainName(String domainName)
The name of a domain.
|
UpdateDomainNameserversRequest |
withNameservers(Collection<Nameserver> nameservers)
A list of new name servers for the domain.
|
UpdateDomainNameserversRequest |
withNameservers(Nameserver... nameservers)
A list of new name servers for the domain.
|
copyPrivateRequestParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public String getDomainName()
Type: String
Default: None
Constraints: The domain name can contain only the letters a through z, the numbers 0 through 9, and hyphen (-). Internationalized Domain Names are not supported.
Required: Yes
Constraints:
Length: 0 - 255
Pattern: [a-zA-Z0-9_\-.]*
Type: String
Default: None
Constraints: The domain name can contain only the letters a through z, the numbers 0 through 9, and hyphen (-). Internationalized Domain Names are not supported.
Required: Yes
public void setDomainName(String domainName)
Type: String
Default: None
Constraints: The domain name can contain only the letters a through z, the numbers 0 through 9, and hyphen (-). Internationalized Domain Names are not supported.
Required: Yes
Constraints:
Length: 0 - 255
Pattern: [a-zA-Z0-9_\-.]*
domainName
- The name of a domain. Type: String
Default: None
Constraints: The domain name can contain only the letters a through z, the numbers 0 through 9, and hyphen (-). Internationalized Domain Names are not supported.
Required: Yes
public UpdateDomainNameserversRequest withDomainName(String domainName)
Type: String
Default: None
Constraints: The domain name can contain only the letters a through z, the numbers 0 through 9, and hyphen (-). Internationalized Domain Names are not supported.
Required: Yes
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 255
Pattern: [a-zA-Z0-9_\-.]*
domainName
- The name of a domain. Type: String
Default: None
Constraints: The domain name can contain only the letters a through z, the numbers 0 through 9, and hyphen (-). Internationalized Domain Names are not supported.
Required: Yes
public List<Nameserver> getNameservers()
Type: Complex
Children: Name
, GlueIps
Required: Yes
Type: Complex
Children: Name
, GlueIps
Required: Yes
public void setNameservers(Collection<Nameserver> nameservers)
Type: Complex
Children: Name
, GlueIps
Required: Yes
nameservers
- A list of new name servers for the domain. Type: Complex
Children: Name
, GlueIps
Required: Yes
public UpdateDomainNameserversRequest withNameservers(Nameserver... nameservers)
Type: Complex
Children: Name
, GlueIps
Required: Yes
Returns a reference to this object so that method calls can be chained together.
nameservers
- A list of new name servers for the domain. Type: Complex
Children: Name
, GlueIps
Required: Yes
public UpdateDomainNameserversRequest withNameservers(Collection<Nameserver> nameservers)
Type: Complex
Children: Name
, GlueIps
Required: Yes
Returns a reference to this object so that method calls can be chained together.
nameservers
- A list of new name servers for the domain. Type: Complex
Children: Name
, GlueIps
Required: Yes
public String toString()
toString
in class Object
Object.toString()
Copyright © 2015. All rights reserved.