pub struct BatchReadFluentBuilder { /* private fields */ }Expand description
Fluent builder constructing a request to BatchRead.
Performs all the read operations in a batch.
Implementations§
source§impl BatchReadFluentBuilder
impl BatchReadFluentBuilder
sourcepub fn as_input(&self) -> &BatchReadInputBuilder
pub fn as_input(&self) -> &BatchReadInputBuilder
Access the BatchRead as a reference.
sourcepub async fn send(
self
) -> Result<BatchReadOutput, SdkError<BatchReadError, HttpResponse>>
pub async fn send( self ) -> Result<BatchReadOutput, SdkError<BatchReadError, 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<BatchReadOutput, BatchReadError, Self>
pub fn customize( self ) -> CustomizableOperation<BatchReadOutput, BatchReadError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
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: BatchReadOperation) -> Self
pub fn operations(self, input: BatchReadOperation) -> 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<BatchReadOperation>>) -> Self
pub fn set_operations(self, input: Option<Vec<BatchReadOperation>>) -> Self
A list of operations that are part of the batch.
sourcepub fn get_operations(&self) -> &Option<Vec<BatchReadOperation>>
pub fn get_operations(&self) -> &Option<Vec<BatchReadOperation>>
A list of operations that are part of the batch.
sourcepub fn consistency_level(self, input: ConsistencyLevel) -> Self
pub fn consistency_level(self, input: ConsistencyLevel) -> Self
Represents the manner and timing in which the successful write or update of an object is reflected in a subsequent read operation of that same object.
sourcepub fn set_consistency_level(self, input: Option<ConsistencyLevel>) -> Self
pub fn set_consistency_level(self, input: Option<ConsistencyLevel>) -> Self
Represents the manner and timing in which the successful write or update of an object is reflected in a subsequent read operation of that same object.
sourcepub fn get_consistency_level(&self) -> &Option<ConsistencyLevel>
pub fn get_consistency_level(&self) -> &Option<ConsistencyLevel>
Represents the manner and timing in which the successful write or update of an object is reflected in a subsequent read operation of that same object.
Trait Implementations§
source§impl Clone for BatchReadFluentBuilder
impl Clone for BatchReadFluentBuilder
source§fn clone(&self) -> BatchReadFluentBuilder
fn clone(&self) -> BatchReadFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more