Struct aws_sdk_route53domains::operation::update_domain_contact::builders::UpdateDomainContactFluentBuilder
source · pub struct UpdateDomainContactFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to UpdateDomainContact
.
This operation updates the contact information for a particular domain. You must specify information for at least one contact: registrant, administrator, or technical.
If the update is successful, this method returns an operation ID that you can use to track the progress and completion of the operation. If the request is not completed successfully, the domain registrant will be notified by email.
Implementations§
source§impl UpdateDomainContactFluentBuilder
impl UpdateDomainContactFluentBuilder
sourcepub fn as_input(&self) -> &UpdateDomainContactInputBuilder
pub fn as_input(&self) -> &UpdateDomainContactInputBuilder
Access the UpdateDomainContact as a reference.
sourcepub async fn send(
self
) -> Result<UpdateDomainContactOutput, SdkError<UpdateDomainContactError, HttpResponse>>
pub async fn send( self ) -> Result<UpdateDomainContactOutput, SdkError<UpdateDomainContactError, 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<UpdateDomainContactOutput, UpdateDomainContactError, Self>
pub fn customize( self ) -> CustomizableOperation<UpdateDomainContactOutput, UpdateDomainContactError, 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 update contact information 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 update contact information 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 update contact information for.
sourcepub fn admin_contact(self, input: ContactDetail) -> Self
pub fn admin_contact(self, input: ContactDetail) -> Self
Provides detailed contact information.
sourcepub fn set_admin_contact(self, input: Option<ContactDetail>) -> Self
pub fn set_admin_contact(self, input: Option<ContactDetail>) -> Self
Provides detailed contact information.
sourcepub fn get_admin_contact(&self) -> &Option<ContactDetail>
pub fn get_admin_contact(&self) -> &Option<ContactDetail>
Provides detailed contact information.
sourcepub fn registrant_contact(self, input: ContactDetail) -> Self
pub fn registrant_contact(self, input: ContactDetail) -> Self
Provides detailed contact information.
sourcepub fn set_registrant_contact(self, input: Option<ContactDetail>) -> Self
pub fn set_registrant_contact(self, input: Option<ContactDetail>) -> Self
Provides detailed contact information.
sourcepub fn get_registrant_contact(&self) -> &Option<ContactDetail>
pub fn get_registrant_contact(&self) -> &Option<ContactDetail>
Provides detailed contact information.
sourcepub fn tech_contact(self, input: ContactDetail) -> Self
pub fn tech_contact(self, input: ContactDetail) -> Self
Provides detailed contact information.
sourcepub fn set_tech_contact(self, input: Option<ContactDetail>) -> Self
pub fn set_tech_contact(self, input: Option<ContactDetail>) -> Self
Provides detailed contact information.
sourcepub fn get_tech_contact(&self) -> &Option<ContactDetail>
pub fn get_tech_contact(&self) -> &Option<ContactDetail>
Provides detailed contact information.
sourcepub fn consent(self, input: Consent) -> Self
pub fn consent(self, input: Consent) -> Self
Customer's consent for the owner change request. Required if the domain is not free (consent price is more than $0.00).
sourcepub fn set_consent(self, input: Option<Consent>) -> Self
pub fn set_consent(self, input: Option<Consent>) -> Self
Customer's consent for the owner change request. Required if the domain is not free (consent price is more than $0.00).
sourcepub fn get_consent(&self) -> &Option<Consent>
pub fn get_consent(&self) -> &Option<Consent>
Customer's consent for the owner change request. Required if the domain is not free (consent price is more than $0.00).
sourcepub fn billing_contact(self, input: ContactDetail) -> Self
pub fn billing_contact(self, input: ContactDetail) -> Self
Provides detailed contact information.
sourcepub fn set_billing_contact(self, input: Option<ContactDetail>) -> Self
pub fn set_billing_contact(self, input: Option<ContactDetail>) -> Self
Provides detailed contact information.
sourcepub fn get_billing_contact(&self) -> &Option<ContactDetail>
pub fn get_billing_contact(&self) -> &Option<ContactDetail>
Provides detailed contact information.
Trait Implementations§
source§impl Clone for UpdateDomainContactFluentBuilder
impl Clone for UpdateDomainContactFluentBuilder
source§fn clone(&self) -> UpdateDomainContactFluentBuilder
fn clone(&self) -> UpdateDomainContactFluentBuilder
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 UpdateDomainContactFluentBuilder
impl !RefUnwindSafe for UpdateDomainContactFluentBuilder
impl Send for UpdateDomainContactFluentBuilder
impl Sync for UpdateDomainContactFluentBuilder
impl Unpin for UpdateDomainContactFluentBuilder
impl !UnwindSafe for UpdateDomainContactFluentBuilder
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