#[non_exhaustive]pub struct BatchReadInputBuilder { /* private fields */ }Expand description
A builder for BatchReadInput.
Implementations§
source§impl BatchReadInputBuilder
impl BatchReadInputBuilder
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.
sourcepub fn build(self) -> Result<BatchReadInput, BuildError>
pub fn build(self) -> Result<BatchReadInput, BuildError>
Consumes the builder and constructs a BatchReadInput.
source§impl BatchReadInputBuilder
impl BatchReadInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<BatchReadOutput, SdkError<BatchReadError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<BatchReadOutput, SdkError<BatchReadError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for BatchReadInputBuilder
impl Clone for BatchReadInputBuilder
source§fn clone(&self) -> BatchReadInputBuilder
fn clone(&self) -> BatchReadInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for BatchReadInputBuilder
impl Debug for BatchReadInputBuilder
source§impl Default for BatchReadInputBuilder
impl Default for BatchReadInputBuilder
source§fn default() -> BatchReadInputBuilder
fn default() -> BatchReadInputBuilder
source§impl PartialEq for BatchReadInputBuilder
impl PartialEq for BatchReadInputBuilder
source§fn eq(&self, other: &BatchReadInputBuilder) -> bool
fn eq(&self, other: &BatchReadInputBuilder) -> bool
self and other values to be equal, and is used
by ==.