Struct aws_sdk_directory::operation::start_schema_extension::builders::StartSchemaExtensionFluentBuilder
source · pub struct StartSchemaExtensionFluentBuilder { /* private fields */ }Expand description
Fluent builder constructing a request to StartSchemaExtension.
Applies a schema extension to a Microsoft AD directory.
Implementations§
source§impl StartSchemaExtensionFluentBuilder
impl StartSchemaExtensionFluentBuilder
sourcepub fn as_input(&self) -> &StartSchemaExtensionInputBuilder
pub fn as_input(&self) -> &StartSchemaExtensionInputBuilder
Access the StartSchemaExtension as a reference.
sourcepub async fn send(
self
) -> Result<StartSchemaExtensionOutput, SdkError<StartSchemaExtensionError, HttpResponse>>
pub async fn send( self ) -> Result<StartSchemaExtensionOutput, SdkError<StartSchemaExtensionError, 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<StartSchemaExtensionOutput, StartSchemaExtensionError, Self>
pub fn customize( self ) -> CustomizableOperation<StartSchemaExtensionOutput, StartSchemaExtensionError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn directory_id(self, input: impl Into<String>) -> Self
pub fn directory_id(self, input: impl Into<String>) -> Self
The identifier of the directory for which the schema extension will be applied to.
sourcepub fn set_directory_id(self, input: Option<String>) -> Self
pub fn set_directory_id(self, input: Option<String>) -> Self
The identifier of the directory for which the schema extension will be applied to.
sourcepub fn get_directory_id(&self) -> &Option<String>
pub fn get_directory_id(&self) -> &Option<String>
The identifier of the directory for which the schema extension will be applied to.
sourcepub fn create_snapshot_before_schema_extension(self, input: bool) -> Self
pub fn create_snapshot_before_schema_extension(self, input: bool) -> Self
If true, creates a snapshot of the directory before applying the schema extension.
sourcepub fn set_create_snapshot_before_schema_extension(
self,
input: Option<bool>
) -> Self
pub fn set_create_snapshot_before_schema_extension( self, input: Option<bool> ) -> Self
If true, creates a snapshot of the directory before applying the schema extension.
sourcepub fn get_create_snapshot_before_schema_extension(&self) -> &Option<bool>
pub fn get_create_snapshot_before_schema_extension(&self) -> &Option<bool>
If true, creates a snapshot of the directory before applying the schema extension.
sourcepub fn ldif_content(self, input: impl Into<String>) -> Self
pub fn ldif_content(self, input: impl Into<String>) -> Self
The LDIF file represented as a string. To construct the LdifContent string, precede each line as it would be formatted in an ldif file with \n. See the example request below for more details. The file size can be no larger than 1MB.
sourcepub fn set_ldif_content(self, input: Option<String>) -> Self
pub fn set_ldif_content(self, input: Option<String>) -> Self
The LDIF file represented as a string. To construct the LdifContent string, precede each line as it would be formatted in an ldif file with \n. See the example request below for more details. The file size can be no larger than 1MB.
sourcepub fn get_ldif_content(&self) -> &Option<String>
pub fn get_ldif_content(&self) -> &Option<String>
The LDIF file represented as a string. To construct the LdifContent string, precede each line as it would be formatted in an ldif file with \n. See the example request below for more details. The file size can be no larger than 1MB.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
A description of the schema extension.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
A description of the schema extension.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
A description of the schema extension.
Trait Implementations§
source§impl Clone for StartSchemaExtensionFluentBuilder
impl Clone for StartSchemaExtensionFluentBuilder
source§fn clone(&self) -> StartSchemaExtensionFluentBuilder
fn clone(&self) -> StartSchemaExtensionFluentBuilder
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 StartSchemaExtensionFluentBuilder
impl !RefUnwindSafe for StartSchemaExtensionFluentBuilder
impl Send for StartSchemaExtensionFluentBuilder
impl Sync for StartSchemaExtensionFluentBuilder
impl Unpin for StartSchemaExtensionFluentBuilder
impl !UnwindSafe for StartSchemaExtensionFluentBuilder
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