@Generated(value="software.amazon.awssdk:codegen") public class UpdateDomainNameserversRequest extends Route53DomainsRequest implements ToCopyableBuilder<UpdateDomainNameserversRequest.Builder,UpdateDomainNameserversRequest>
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.
Modifier and Type | Class and Description |
---|---|
static interface |
UpdateDomainNameserversRequest.Builder |
Modifier and Type | Method and Description |
---|---|
static UpdateDomainNameserversRequest.Builder |
builder() |
String |
domainName()
The name of the domain that you want to change name servers for.
|
boolean |
equals(Object obj) |
String |
fiAuthKey()
The authorization key for .fi domains
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkRequest . |
int |
hashCode() |
List<Nameserver> |
nameservers()
A list of new name servers for the domain.
|
static Class<? extends UpdateDomainNameserversRequest.Builder> |
serializableBuilderClass() |
UpdateDomainNameserversRequest.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
requestOverrideConfig
copy
public String domainName()
The name of the domain that you want to change name servers for.
public String fiAuthKey()
The authorization key for .fi domains
public List<Nameserver> nameservers()
A list of new name servers for the domain.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public UpdateDomainNameserversRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<UpdateDomainNameserversRequest.Builder,UpdateDomainNameserversRequest>
toBuilder
in class Route53DomainsRequest
public static UpdateDomainNameserversRequest.Builder builder()
public static Class<? extends UpdateDomainNameserversRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkRequest
SdkRequest
. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkRequest.getValueForField(String, Class)
method will
again be available.getValueForField
in class SdkRequest
fieldName
- The name of the member to be retrieved.clazz
- The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.