Struct aws_sdk_clouddirectory::operation::enable_directory::builders::EnableDirectoryOutputBuilder
source · #[non_exhaustive]pub struct EnableDirectoryOutputBuilder { /* private fields */ }Expand description
A builder for EnableDirectoryOutput.
Implementations§
source§impl EnableDirectoryOutputBuilder
impl EnableDirectoryOutputBuilder
sourcepub fn directory_arn(self, input: impl Into<String>) -> Self
pub fn directory_arn(self, input: impl Into<String>) -> Self
The ARN of the enabled directory.
This field is required.sourcepub fn set_directory_arn(self, input: Option<String>) -> Self
pub fn set_directory_arn(self, input: Option<String>) -> Self
The ARN of the enabled directory.
sourcepub fn get_directory_arn(&self) -> &Option<String>
pub fn get_directory_arn(&self) -> &Option<String>
The ARN of the enabled directory.
sourcepub fn build(self) -> Result<EnableDirectoryOutput, BuildError>
pub fn build(self) -> Result<EnableDirectoryOutput, BuildError>
Consumes the builder and constructs a EnableDirectoryOutput.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for EnableDirectoryOutputBuilder
impl Clone for EnableDirectoryOutputBuilder
source§fn clone(&self) -> EnableDirectoryOutputBuilder
fn clone(&self) -> EnableDirectoryOutputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for EnableDirectoryOutputBuilder
impl Debug for EnableDirectoryOutputBuilder
source§impl Default for EnableDirectoryOutputBuilder
impl Default for EnableDirectoryOutputBuilder
source§fn default() -> EnableDirectoryOutputBuilder
fn default() -> EnableDirectoryOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for EnableDirectoryOutputBuilder
impl PartialEq for EnableDirectoryOutputBuilder
source§fn eq(&self, other: &EnableDirectoryOutputBuilder) -> bool
fn eq(&self, other: &EnableDirectoryOutputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for EnableDirectoryOutputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for EnableDirectoryOutputBuilder
impl Send for EnableDirectoryOutputBuilder
impl Sync for EnableDirectoryOutputBuilder
impl Unpin for EnableDirectoryOutputBuilder
impl UnwindSafe for EnableDirectoryOutputBuilder
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
Mutably borrows from an owned value. Read more
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>
Creates a shared type from an unshared type.