Struct aws_sdk_directory::operation::start_schema_extension::builders::StartSchemaExtensionInputBuilder
source · #[non_exhaustive]pub struct StartSchemaExtensionInputBuilder { /* private fields */ }Expand description
A builder for StartSchemaExtensionInput.
Implementations§
source§impl StartSchemaExtensionInputBuilder
impl StartSchemaExtensionInputBuilder
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.
This field is required.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.
This field is required.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.
This field is required.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.
This field is required.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.
sourcepub fn build(self) -> Result<StartSchemaExtensionInput, BuildError>
pub fn build(self) -> Result<StartSchemaExtensionInput, BuildError>
Consumes the builder and constructs a StartSchemaExtensionInput.
source§impl StartSchemaExtensionInputBuilder
impl StartSchemaExtensionInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<StartSchemaExtensionOutput, SdkError<StartSchemaExtensionError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<StartSchemaExtensionOutput, SdkError<StartSchemaExtensionError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for StartSchemaExtensionInputBuilder
impl Clone for StartSchemaExtensionInputBuilder
source§fn clone(&self) -> StartSchemaExtensionInputBuilder
fn clone(&self) -> StartSchemaExtensionInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for StartSchemaExtensionInputBuilder
impl Default for StartSchemaExtensionInputBuilder
source§fn default() -> StartSchemaExtensionInputBuilder
fn default() -> StartSchemaExtensionInputBuilder
source§impl PartialEq for StartSchemaExtensionInputBuilder
impl PartialEq for StartSchemaExtensionInputBuilder
source§fn eq(&self, other: &StartSchemaExtensionInputBuilder) -> bool
fn eq(&self, other: &StartSchemaExtensionInputBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for StartSchemaExtensionInputBuilder
Auto Trait Implementations§
impl Freeze for StartSchemaExtensionInputBuilder
impl RefUnwindSafe for StartSchemaExtensionInputBuilder
impl Send for StartSchemaExtensionInputBuilder
impl Sync for StartSchemaExtensionInputBuilder
impl Unpin for StartSchemaExtensionInputBuilder
impl UnwindSafe for StartSchemaExtensionInputBuilder
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