Struct aws_sdk_cloudsearch::client::fluent_builders::CreateDomain
source · pub struct CreateDomain { /* 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 CreateDomain
impl CreateDomain
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<CreateDomain, AwsResponseRetryClassifier>, SdkError<CreateDomainError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<CreateDomain, AwsResponseRetryClassifier>, SdkError<CreateDomainError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
self
) -> Result<CreateDomainOutput, SdkError<CreateDomainError>>
pub async fn send(
self
) -> Result<CreateDomainOutput, SdkError<CreateDomainError>>
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 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.
Trait Implementations§
source§impl Clone for CreateDomain
impl Clone for CreateDomain
source§fn clone(&self) -> CreateDomain
fn clone(&self) -> CreateDomain
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more