Class UpdateDomainNameserversRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.route53domains.model.UpdateDomainNameserversRequest
-
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
public class UpdateDomainNameserversRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
The UpdateDomainNameserver request includes the following elements.
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description UpdateDomainNameserversRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateDomainNameserversRequest
clone()
Creates a shallow clone of this request.boolean
equals(Object obj)
String
getDomainName()
The name of a domain.String
getFIAuthKey()
The authorization key for .fi domainsList<Nameserver>
getNameservers()
A list of new name servers for the domain.int
hashCode()
void
setDomainName(String domainName)
The name of a domain.void
setFIAuthKey(String fIAuthKey)
The authorization key for .fi domainsvoid
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
withFIAuthKey(String fIAuthKey)
The authorization key for .fi domainsUpdateDomainNameserversRequest
withNameservers(Nameserver... nameservers)
A list of new name servers for the domain.UpdateDomainNameserversRequest
withNameservers(Collection<Nameserver> nameservers)
A list of new name servers for the domain.-
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
-
-
-
Method Detail
-
setDomainName
public void setDomainName(String 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
- Parameters:
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
-
getDomainName
public String getDomainName()
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
- Returns:
- 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
-
withDomainName
public UpdateDomainNameserversRequest withDomainName(String 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
- Parameters:
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
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setFIAuthKey
public void setFIAuthKey(String fIAuthKey)
The authorization key for .fi domains
- Parameters:
fIAuthKey
- The authorization key for .fi domains
-
getFIAuthKey
public String getFIAuthKey()
The authorization key for .fi domains
- Returns:
- The authorization key for .fi domains
-
withFIAuthKey
public UpdateDomainNameserversRequest withFIAuthKey(String fIAuthKey)
The authorization key for .fi domains
- Parameters:
fIAuthKey
- The authorization key for .fi domains- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getNameservers
public List<Nameserver> getNameservers()
A list of new name servers for the domain.
Type: Complex
Children:
Name
,GlueIps
Required: Yes
- Returns:
- A list of new name servers for the domain.
Type: Complex
Children:
Name
,GlueIps
Required: Yes
-
setNameservers
public void setNameservers(Collection<Nameserver> nameservers)
A list of new name servers for the domain.
Type: Complex
Children:
Name
,GlueIps
Required: Yes
- Parameters:
nameservers
- A list of new name servers for the domain.Type: Complex
Children:
Name
,GlueIps
Required: Yes
-
withNameservers
public UpdateDomainNameserversRequest withNameservers(Nameserver... nameservers)
A list of new name servers for the domain.
Type: Complex
Children:
Name
,GlueIps
Required: Yes
NOTE: This method appends the values to the existing list (if any). Use
setNameservers(java.util.Collection)
orwithNameservers(java.util.Collection)
if you want to override the existing values.- Parameters:
nameservers
- A list of new name servers for the domain.Type: Complex
Children:
Name
,GlueIps
Required: Yes
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withNameservers
public UpdateDomainNameserversRequest withNameservers(Collection<Nameserver> nameservers)
A list of new name servers for the domain.
Type: Complex
Children:
Name
,GlueIps
Required: Yes
- Parameters:
nameservers
- A list of new name servers for the domain.Type: Complex
Children:
Name
,GlueIps
Required: Yes
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public UpdateDomainNameserversRequest clone()
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
Object.clone()
-
-