Struct aws_sdk_route53domains::operation::check_domain_transferability::builders::CheckDomainTransferabilityInputBuilder
source · #[non_exhaustive]pub struct CheckDomainTransferabilityInputBuilder { /* private fields */ }
Expand description
A builder for CheckDomainTransferabilityInput
.
Implementations§
source§impl CheckDomainTransferabilityInputBuilder
impl CheckDomainTransferabilityInputBuilder
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 transfer to Route 53. The top-level domain (TLD), such as .com, must be a TLD that Route 53 supports. For a list of supported TLDs, see Domains that You Can Register with Amazon Route 53 in the Amazon Route 53 Developer Guide.
The domain name can contain only the following characters:
-
Letters a through z. Domain names are not case sensitive.
-
Numbers 0 through 9.
-
Hyphen (-). You can't specify a hyphen at the beginning or end of a label.
-
Period (.) to separate the labels in the name, such as the
.
inexample.com
.
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 transfer to Route 53. The top-level domain (TLD), such as .com, must be a TLD that Route 53 supports. For a list of supported TLDs, see Domains that You Can Register with Amazon Route 53 in the Amazon Route 53 Developer Guide.
The domain name can contain only the following characters:
-
Letters a through z. Domain names are not case sensitive.
-
Numbers 0 through 9.
-
Hyphen (-). You can't specify a hyphen at the beginning or end of a label.
-
Period (.) to separate the labels in the name, such as the
.
inexample.com
.
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 transfer to Route 53. The top-level domain (TLD), such as .com, must be a TLD that Route 53 supports. For a list of supported TLDs, see Domains that You Can Register with Amazon Route 53 in the Amazon Route 53 Developer Guide.
The domain name can contain only the following characters:
-
Letters a through z. Domain names are not case sensitive.
-
Numbers 0 through 9.
-
Hyphen (-). You can't specify a hyphen at the beginning or end of a label.
-
Period (.) to separate the labels in the name, such as the
.
inexample.com
.
sourcepub fn auth_code(self, input: impl Into<String>) -> Self
pub fn auth_code(self, input: impl Into<String>) -> Self
If the registrar for the top-level domain (TLD) requires an authorization code to transfer the domain, the code that you got from the current registrar for the domain.
sourcepub fn set_auth_code(self, input: Option<String>) -> Self
pub fn set_auth_code(self, input: Option<String>) -> Self
If the registrar for the top-level domain (TLD) requires an authorization code to transfer the domain, the code that you got from the current registrar for the domain.
sourcepub fn get_auth_code(&self) -> &Option<String>
pub fn get_auth_code(&self) -> &Option<String>
If the registrar for the top-level domain (TLD) requires an authorization code to transfer the domain, the code that you got from the current registrar for the domain.
sourcepub fn build(self) -> Result<CheckDomainTransferabilityInput, BuildError>
pub fn build(self) -> Result<CheckDomainTransferabilityInput, BuildError>
Consumes the builder and constructs a CheckDomainTransferabilityInput
.
source§impl CheckDomainTransferabilityInputBuilder
impl CheckDomainTransferabilityInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CheckDomainTransferabilityOutput, SdkError<CheckDomainTransferabilityError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CheckDomainTransferabilityOutput, SdkError<CheckDomainTransferabilityError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CheckDomainTransferabilityInputBuilder
impl Clone for CheckDomainTransferabilityInputBuilder
source§fn clone(&self) -> CheckDomainTransferabilityInputBuilder
fn clone(&self) -> CheckDomainTransferabilityInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for CheckDomainTransferabilityInputBuilder
impl Default for CheckDomainTransferabilityInputBuilder
source§fn default() -> CheckDomainTransferabilityInputBuilder
fn default() -> CheckDomainTransferabilityInputBuilder
source§impl PartialEq for CheckDomainTransferabilityInputBuilder
impl PartialEq for CheckDomainTransferabilityInputBuilder
source§fn eq(&self, other: &CheckDomainTransferabilityInputBuilder) -> bool
fn eq(&self, other: &CheckDomainTransferabilityInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CheckDomainTransferabilityInputBuilder
Auto Trait Implementations§
impl Freeze for CheckDomainTransferabilityInputBuilder
impl RefUnwindSafe for CheckDomainTransferabilityInputBuilder
impl Send for CheckDomainTransferabilityInputBuilder
impl Sync for CheckDomainTransferabilityInputBuilder
impl Unpin for CheckDomainTransferabilityInputBuilder
impl UnwindSafe for CheckDomainTransferabilityInputBuilder
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