Struct aws_sdk_route53domains::operation::accept_domain_transfer_from_another_aws_account::builders::AcceptDomainTransferFromAnotherAwsAccountFluentBuilder
source · pub struct AcceptDomainTransferFromAnotherAwsAccountFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to AcceptDomainTransferFromAnotherAwsAccount
.
Accepts the transfer of a domain from another Amazon Web Services account to the currentAmazon Web Services account. You initiate a transfer between Amazon Web Services accounts using TransferDomainToAnotherAwsAccount.
If you use the CLI command at accept-domain-transfer-from-another-aws-account, use JSON format as input instead of text because otherwise CLI will throw an error from domain transfer input that includes single quotes.
Use either ListOperations or GetOperationDetail to determine whether the operation succeeded. GetOperationDetail provides additional information, for example, Domain Transfer from Aws Account 111122223333 has been cancelled
.
Implementations§
source§impl AcceptDomainTransferFromAnotherAwsAccountFluentBuilder
impl AcceptDomainTransferFromAnotherAwsAccountFluentBuilder
sourcepub fn as_input(&self) -> &AcceptDomainTransferFromAnotherAwsAccountInputBuilder
pub fn as_input(&self) -> &AcceptDomainTransferFromAnotherAwsAccountInputBuilder
Access the AcceptDomainTransferFromAnotherAwsAccount as a reference.
sourcepub async fn send(
self
) -> Result<AcceptDomainTransferFromAnotherAwsAccountOutput, SdkError<AcceptDomainTransferFromAnotherAwsAccountError, HttpResponse>>
pub async fn send( self ) -> Result<AcceptDomainTransferFromAnotherAwsAccountOutput, SdkError<AcceptDomainTransferFromAnotherAwsAccountError, 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<AcceptDomainTransferFromAnotherAwsAccountOutput, AcceptDomainTransferFromAnotherAwsAccountError, Self>
pub fn customize( self ) -> CustomizableOperation<AcceptDomainTransferFromAnotherAwsAccountOutput, AcceptDomainTransferFromAnotherAwsAccountError, 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 was specified when another Amazon Web Services account submitted a TransferDomainToAnotherAwsAccount request.
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 was specified when another Amazon Web Services account submitted a TransferDomainToAnotherAwsAccount request.
sourcepub fn get_domain_name(&self) -> &Option<String>
pub fn get_domain_name(&self) -> &Option<String>
The name of the domain that was specified when another Amazon Web Services account submitted a TransferDomainToAnotherAwsAccount request.
sourcepub fn password(self, input: impl Into<String>) -> Self
pub fn password(self, input: impl Into<String>) -> Self
The password that was returned by the TransferDomainToAnotherAwsAccount request.
sourcepub fn set_password(self, input: Option<String>) -> Self
pub fn set_password(self, input: Option<String>) -> Self
The password that was returned by the TransferDomainToAnotherAwsAccount request.
sourcepub fn get_password(&self) -> &Option<String>
pub fn get_password(&self) -> &Option<String>
The password that was returned by the TransferDomainToAnotherAwsAccount request.
Trait Implementations§
source§impl Clone for AcceptDomainTransferFromAnotherAwsAccountFluentBuilder
impl Clone for AcceptDomainTransferFromAnotherAwsAccountFluentBuilder
source§fn clone(&self) -> AcceptDomainTransferFromAnotherAwsAccountFluentBuilder
fn clone(&self) -> AcceptDomainTransferFromAnotherAwsAccountFluentBuilder
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 AcceptDomainTransferFromAnotherAwsAccountFluentBuilder
impl !RefUnwindSafe for AcceptDomainTransferFromAnotherAwsAccountFluentBuilder
impl Send for AcceptDomainTransferFromAnotherAwsAccountFluentBuilder
impl Sync for AcceptDomainTransferFromAnotherAwsAccountFluentBuilder
impl Unpin for AcceptDomainTransferFromAnotherAwsAccountFluentBuilder
impl !UnwindSafe for AcceptDomainTransferFromAnotherAwsAccountFluentBuilder
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