#[non_exhaustive]pub struct BatchWriteInputBuilder { /* private fields */ }Expand description
A builder for BatchWriteInput.
Implementations§
source§impl BatchWriteInputBuilder
impl BatchWriteInputBuilder
sourcepub fn directory_arn(self, input: impl Into<String>) -> Self
pub fn directory_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) that is associated with the Directory. For more information, see arns.
sourcepub fn set_directory_arn(self, input: Option<String>) -> Self
pub fn set_directory_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) that is associated with the Directory. For more information, see arns.
sourcepub fn get_directory_arn(&self) -> &Option<String>
pub fn get_directory_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) that is associated with the Directory. For more information, see arns.
sourcepub fn operations(self, input: BatchWriteOperation) -> Self
pub fn operations(self, input: BatchWriteOperation) -> Self
Appends an item to operations.
To override the contents of this collection use set_operations.
A list of operations that are part of the batch.
sourcepub fn set_operations(self, input: Option<Vec<BatchWriteOperation>>) -> Self
pub fn set_operations(self, input: Option<Vec<BatchWriteOperation>>) -> Self
A list of operations that are part of the batch.
sourcepub fn get_operations(&self) -> &Option<Vec<BatchWriteOperation>>
pub fn get_operations(&self) -> &Option<Vec<BatchWriteOperation>>
A list of operations that are part of the batch.
sourcepub fn build(self) -> Result<BatchWriteInput, BuildError>
pub fn build(self) -> Result<BatchWriteInput, BuildError>
Consumes the builder and constructs a BatchWriteInput.
source§impl BatchWriteInputBuilder
impl BatchWriteInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<BatchWriteOutput, SdkError<BatchWriteError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<BatchWriteOutput, SdkError<BatchWriteError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for BatchWriteInputBuilder
impl Clone for BatchWriteInputBuilder
source§fn clone(&self) -> BatchWriteInputBuilder
fn clone(&self) -> BatchWriteInputBuilder
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 BatchWriteInputBuilder
impl Debug for BatchWriteInputBuilder
source§impl Default for BatchWriteInputBuilder
impl Default for BatchWriteInputBuilder
source§fn default() -> BatchWriteInputBuilder
fn default() -> BatchWriteInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for BatchWriteInputBuilder
impl PartialEq for BatchWriteInputBuilder
source§fn eq(&self, other: &BatchWriteInputBuilder) -> bool
fn eq(&self, other: &BatchWriteInputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for BatchWriteInputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for BatchWriteInputBuilder
impl Send for BatchWriteInputBuilder
impl Sync for BatchWriteInputBuilder
impl Unpin for BatchWriteInputBuilder
impl UnwindSafe for BatchWriteInputBuilder
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.