pub struct CreateDomainFluentBuilder { /* private fields */ }Expand description
Fluent builder constructing a request to CreateDomain.
Creates a new search domain. For more information, see Creating a Search Domain in the Amazon CloudSearch Developer Guide.
Implementations§
source§impl CreateDomainFluentBuilder
impl CreateDomainFluentBuilder
sourcepub fn as_input(&self) -> &CreateDomainInputBuilder
pub fn as_input(&self) -> &CreateDomainInputBuilder
Access the CreateDomain as a reference.
sourcepub async fn send(
self
) -> Result<CreateDomainOutput, SdkError<CreateDomainError, HttpResponse>>
pub async fn send( self ) -> Result<CreateDomainOutput, SdkError<CreateDomainError, 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<CreateDomainOutput, CreateDomainError, Self>
pub fn customize( self ) -> CustomizableOperation<CreateDomainOutput, CreateDomainError, 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 name for the domain you are creating. Allowed characters are a-z (lower-case letters), 0-9, and hyphen (-). Domain names must start with a letter or number and be at least 3 and no more than 28 characters long.
sourcepub fn set_domain_name(self, input: Option<String>) -> Self
pub fn set_domain_name(self, input: Option<String>) -> Self
A name for the domain you are creating. Allowed characters are a-z (lower-case letters), 0-9, and hyphen (-). Domain names must start with a letter or number and be at least 3 and no more than 28 characters long.
sourcepub fn get_domain_name(&self) -> &Option<String>
pub fn get_domain_name(&self) -> &Option<String>
A name for the domain you are creating. Allowed characters are a-z (lower-case letters), 0-9, and hyphen (-). Domain names must start with a letter or number and be at least 3 and no more than 28 characters long.
Trait Implementations§
source§impl Clone for CreateDomainFluentBuilder
impl Clone for CreateDomainFluentBuilder
source§fn clone(&self) -> CreateDomainFluentBuilder
fn clone(&self) -> CreateDomainFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more