Struct aws_sdk_route53domains::operation::update_domain_nameservers::builders::UpdateDomainNameserversInputBuilder
source · #[non_exhaustive]pub struct UpdateDomainNameserversInputBuilder { /* private fields */ }
Expand description
A builder for UpdateDomainNameserversInput
.
Implementations§
source§impl UpdateDomainNameserversInputBuilder
impl UpdateDomainNameserversInputBuilder
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.
This field is required.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.
sourcepub fn build(self) -> Result<UpdateDomainNameserversInput, BuildError>
pub fn build(self) -> Result<UpdateDomainNameserversInput, BuildError>
Consumes the builder and constructs a UpdateDomainNameserversInput
.
source§impl UpdateDomainNameserversInputBuilder
impl UpdateDomainNameserversInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<UpdateDomainNameserversOutput, SdkError<UpdateDomainNameserversError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<UpdateDomainNameserversOutput, SdkError<UpdateDomainNameserversError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateDomainNameserversInputBuilder
impl Clone for UpdateDomainNameserversInputBuilder
source§fn clone(&self) -> UpdateDomainNameserversInputBuilder
fn clone(&self) -> UpdateDomainNameserversInputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for UpdateDomainNameserversInputBuilder
impl Default for UpdateDomainNameserversInputBuilder
source§fn default() -> UpdateDomainNameserversInputBuilder
fn default() -> UpdateDomainNameserversInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for UpdateDomainNameserversInputBuilder
impl PartialEq for UpdateDomainNameserversInputBuilder
source§fn eq(&self, other: &UpdateDomainNameserversInputBuilder) -> bool
fn eq(&self, other: &UpdateDomainNameserversInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UpdateDomainNameserversInputBuilder
Auto Trait Implementations§
impl Freeze for UpdateDomainNameserversInputBuilder
impl RefUnwindSafe for UpdateDomainNameserversInputBuilder
impl Send for UpdateDomainNameserversInputBuilder
impl Sync for UpdateDomainNameserversInputBuilder
impl Unpin for UpdateDomainNameserversInputBuilder
impl UnwindSafe for UpdateDomainNameserversInputBuilder
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
Mutably borrows from an owned value. Read more
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.