public class UpdateDomainNameserversRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
The UpdateDomainNameserver request includes the following elements.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
domainName
The name of a domain.
|
private java.lang.String |
fIAuthKey
The authorization key for .fi domains
|
private SdkInternalList<Nameserver> |
nameservers
A list of new name servers for the domain.
|
NOOP
Constructor and Description |
---|
UpdateDomainNameserversRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateDomainNameserversRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getDomainName()
The name of a domain.
|
java.lang.String |
getFIAuthKey()
The authorization key for .fi domains
|
java.util.List<Nameserver> |
getNameservers()
A list of new name servers for the domain.
|
int |
hashCode() |
void |
setDomainName(java.lang.String domainName)
The name of a domain.
|
void |
setFIAuthKey(java.lang.String fIAuthKey)
The authorization key for .fi domains
|
void |
setNameservers(java.util.Collection<Nameserver> nameservers)
A list of new name servers for the domain.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
UpdateDomainNameserversRequest |
withDomainName(java.lang.String domainName)
The name of a domain.
|
UpdateDomainNameserversRequest |
withFIAuthKey(java.lang.String fIAuthKey)
The authorization key for .fi domains
|
UpdateDomainNameserversRequest |
withNameservers(java.util.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.
|
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
private java.lang.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
private java.lang.String fIAuthKey
The authorization key for .fi domains
private SdkInternalList<Nameserver> nameservers
A list of new name servers for the domain.
Type: Complex
Children: Name
, GlueIps
Required: Yes
public void setDomainName(java.lang.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
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 java.lang.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
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(java.lang.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
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 void setFIAuthKey(java.lang.String fIAuthKey)
The authorization key for .fi domains
fIAuthKey
- The authorization key for .fi domainspublic java.lang.String getFIAuthKey()
The authorization key for .fi domains
public UpdateDomainNameserversRequest withFIAuthKey(java.lang.String fIAuthKey)
The authorization key for .fi domains
fIAuthKey
- The authorization key for .fi domainspublic java.util.List<Nameserver> getNameservers()
A list of new name servers for the domain.
Type: Complex
Children: Name
, GlueIps
Required: Yes
Type: Complex
Children: Name
, GlueIps
Required: Yes
public void setNameservers(java.util.Collection<Nameserver> nameservers)
A list of new name servers for the domain.
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)
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)
or
withNameservers(java.util.Collection)
if you want to override
the existing values.
nameservers
- A list of new name servers for the domain.
Type: Complex
Children: Name
, GlueIps
Required: Yes
public UpdateDomainNameserversRequest withNameservers(java.util.Collection<Nameserver> nameservers)
A list of new name servers for the domain.
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 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 UpdateDomainNameserversRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()