Struct aws_sdk_route53domains::operation::update_domain_nameservers::builders::UpdateDomainNameserversFluentBuilder
source · pub struct UpdateDomainNameserversFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to UpdateDomainNameservers
.
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.
Implementations§
source§impl UpdateDomainNameserversFluentBuilder
impl UpdateDomainNameserversFluentBuilder
sourcepub fn as_input(&self) -> &UpdateDomainNameserversInputBuilder
pub fn as_input(&self) -> &UpdateDomainNameserversInputBuilder
Access the UpdateDomainNameservers as a reference.
sourcepub async fn send(
self
) -> Result<UpdateDomainNameserversOutput, SdkError<UpdateDomainNameserversError, HttpResponse>>
pub async fn send( self ) -> Result<UpdateDomainNameserversOutput, SdkError<UpdateDomainNameserversError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<UpdateDomainNameserversOutput, UpdateDomainNameserversError, Self>
pub fn customize( self ) -> CustomizableOperation<UpdateDomainNameserversOutput, UpdateDomainNameserversError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn domain_name(self, input: impl Into<String>) -> Self
pub fn domain_name(self, input: impl Into<String>) -> Self
The name of the domain that you want to change name servers for.
sourcepub fn set_domain_name(self, input: Option<String>) -> Self
pub fn set_domain_name(self, input: Option<String>) -> Self
The name of the domain that you want to change name servers for.
sourcepub fn get_domain_name(&self) -> &Option<String>
pub fn get_domain_name(&self) -> &Option<String>
The name of the domain that you want to change name servers for.
sourcepub fn fi_auth_key(self, input: impl Into<String>) -> Self
👎Deprecated
pub fn fi_auth_key(self, input: impl Into<String>) -> Self
The authorization key for .fi domains
sourcepub fn set_fi_auth_key(self, input: Option<String>) -> Self
👎Deprecated
pub fn set_fi_auth_key(self, input: Option<String>) -> Self
The authorization key for .fi domains
sourcepub fn get_fi_auth_key(&self) -> &Option<String>
👎Deprecated
pub fn get_fi_auth_key(&self) -> &Option<String>
The authorization key for .fi domains
sourcepub fn nameservers(self, input: Nameserver) -> Self
pub fn nameservers(self, input: Nameserver) -> Self
Appends an item to Nameservers
.
To override the contents of this collection use set_nameservers
.
A list of new name servers for the domain.
sourcepub fn set_nameservers(self, input: Option<Vec<Nameserver>>) -> Self
pub fn set_nameservers(self, input: Option<Vec<Nameserver>>) -> Self
A list of new name servers for the domain.
sourcepub fn get_nameservers(&self) -> &Option<Vec<Nameserver>>
pub fn get_nameservers(&self) -> &Option<Vec<Nameserver>>
A list of new name servers for the domain.
Trait Implementations§
source§impl Clone for UpdateDomainNameserversFluentBuilder
impl Clone for UpdateDomainNameserversFluentBuilder
source§fn clone(&self) -> UpdateDomainNameserversFluentBuilder
fn clone(&self) -> UpdateDomainNameserversFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreAuto Trait Implementations§
impl Freeze for UpdateDomainNameserversFluentBuilder
impl !RefUnwindSafe for UpdateDomainNameserversFluentBuilder
impl Send for UpdateDomainNameserversFluentBuilder
impl Sync for UpdateDomainNameserversFluentBuilder
impl Unpin for UpdateDomainNameserversFluentBuilder
impl !UnwindSafe for UpdateDomainNameserversFluentBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more