Struct aws_sdk_clouddirectory::operation::create_directory::builders::CreateDirectoryFluentBuilder
source · pub struct CreateDirectoryFluentBuilder { /* private fields */ }Expand description
Fluent builder constructing a request to CreateDirectory.
Creates a Directory by copying the published schema into the directory. A directory cannot be created without a schema.
You can also quickly create a directory using a managed schema, called the QuickStartSchema. For more information, see Managed Schema in the Amazon Cloud Directory Developer Guide.
Implementations§
source§impl CreateDirectoryFluentBuilder
impl CreateDirectoryFluentBuilder
sourcepub fn as_input(&self) -> &CreateDirectoryInputBuilder
pub fn as_input(&self) -> &CreateDirectoryInputBuilder
Access the CreateDirectory as a reference.
sourcepub async fn send(
self
) -> Result<CreateDirectoryOutput, SdkError<CreateDirectoryError, HttpResponse>>
pub async fn send( self ) -> Result<CreateDirectoryOutput, SdkError<CreateDirectoryError, 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<CreateDirectoryOutput, CreateDirectoryError, Self>
pub fn customize( self ) -> CustomizableOperation<CreateDirectoryOutput, CreateDirectoryError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the Directory. Should be unique per account, per region.
sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
The name of the Directory. Should be unique per account, per region.
sourcepub fn get_name(&self) -> &Option<String>
pub fn get_name(&self) -> &Option<String>
The name of the Directory. Should be unique per account, per region.
sourcepub fn schema_arn(self, input: impl Into<String>) -> Self
pub fn schema_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the published schema that will be copied into the data Directory. For more information, see arns.
sourcepub fn set_schema_arn(self, input: Option<String>) -> Self
pub fn set_schema_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the published schema that will be copied into the data Directory. For more information, see arns.
sourcepub fn get_schema_arn(&self) -> &Option<String>
pub fn get_schema_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the published schema that will be copied into the data Directory. For more information, see arns.
Trait Implementations§
source§impl Clone for CreateDirectoryFluentBuilder
impl Clone for CreateDirectoryFluentBuilder
source§fn clone(&self) -> CreateDirectoryFluentBuilder
fn clone(&self) -> CreateDirectoryFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more