Struct aws_sdk_route53domains::operation::get_domain_suggestions::builders::GetDomainSuggestionsFluentBuilder
source · pub struct GetDomainSuggestionsFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to GetDomainSuggestions
.
The GetDomainSuggestions operation returns a list of suggested domain names.
Implementations§
source§impl GetDomainSuggestionsFluentBuilder
impl GetDomainSuggestionsFluentBuilder
sourcepub fn as_input(&self) -> &GetDomainSuggestionsInputBuilder
pub fn as_input(&self) -> &GetDomainSuggestionsInputBuilder
Access the GetDomainSuggestions as a reference.
sourcepub async fn send(
self
) -> Result<GetDomainSuggestionsOutput, SdkError<GetDomainSuggestionsError, HttpResponse>>
pub async fn send( self ) -> Result<GetDomainSuggestionsOutput, SdkError<GetDomainSuggestionsError, 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<GetDomainSuggestionsOutput, GetDomainSuggestionsError, Self>
pub fn customize( self ) -> CustomizableOperation<GetDomainSuggestionsOutput, GetDomainSuggestionsError, 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
A domain name that you want to use as the basis for a list of possible domain names. 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
.
Internationalized domain names are not supported for some top-level domains. To determine whether the TLD that you want to use supports internationalized domain names, see Domains that You Can Register with Amazon Route 53.
sourcepub fn set_domain_name(self, input: Option<String>) -> Self
pub fn set_domain_name(self, input: Option<String>) -> Self
A domain name that you want to use as the basis for a list of possible domain names. 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
.
Internationalized domain names are not supported for some top-level domains. To determine whether the TLD that you want to use supports internationalized domain names, see Domains that You Can Register with Amazon Route 53.
sourcepub fn get_domain_name(&self) -> &Option<String>
pub fn get_domain_name(&self) -> &Option<String>
A domain name that you want to use as the basis for a list of possible domain names. 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
.
Internationalized domain names are not supported for some top-level domains. To determine whether the TLD that you want to use supports internationalized domain names, see Domains that You Can Register with Amazon Route 53.
sourcepub fn suggestion_count(self, input: i32) -> Self
pub fn suggestion_count(self, input: i32) -> Self
The number of suggested domain names that you want Route 53 to return. Specify a value between 1 and 50.
sourcepub fn set_suggestion_count(self, input: Option<i32>) -> Self
pub fn set_suggestion_count(self, input: Option<i32>) -> Self
The number of suggested domain names that you want Route 53 to return. Specify a value between 1 and 50.
sourcepub fn get_suggestion_count(&self) -> &Option<i32>
pub fn get_suggestion_count(&self) -> &Option<i32>
The number of suggested domain names that you want Route 53 to return. Specify a value between 1 and 50.
sourcepub fn only_available(self, input: bool) -> Self
pub fn only_available(self, input: bool) -> Self
If OnlyAvailable
is true
, Route 53 returns only domain names that are available. If OnlyAvailable
is false
, Route 53 returns domain names without checking whether they're available to be registered. To determine whether the domain is available, you can call checkDomainAvailability
for each suggestion.
sourcepub fn set_only_available(self, input: Option<bool>) -> Self
pub fn set_only_available(self, input: Option<bool>) -> Self
If OnlyAvailable
is true
, Route 53 returns only domain names that are available. If OnlyAvailable
is false
, Route 53 returns domain names without checking whether they're available to be registered. To determine whether the domain is available, you can call checkDomainAvailability
for each suggestion.
sourcepub fn get_only_available(&self) -> &Option<bool>
pub fn get_only_available(&self) -> &Option<bool>
If OnlyAvailable
is true
, Route 53 returns only domain names that are available. If OnlyAvailable
is false
, Route 53 returns domain names without checking whether they're available to be registered. To determine whether the domain is available, you can call checkDomainAvailability
for each suggestion.
Trait Implementations§
source§impl Clone for GetDomainSuggestionsFluentBuilder
impl Clone for GetDomainSuggestionsFluentBuilder
source§fn clone(&self) -> GetDomainSuggestionsFluentBuilder
fn clone(&self) -> GetDomainSuggestionsFluentBuilder
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 GetDomainSuggestionsFluentBuilder
impl !RefUnwindSafe for GetDomainSuggestionsFluentBuilder
impl Send for GetDomainSuggestionsFluentBuilder
impl Sync for GetDomainSuggestionsFluentBuilder
impl Unpin for GetDomainSuggestionsFluentBuilder
impl !UnwindSafe for GetDomainSuggestionsFluentBuilder
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