#[non_exhaustive]pub struct AwsDynamoDbTableProjectionBuilder { /* private fields */ }
Expand description
A builder for AwsDynamoDbTableProjection
.
Implementations§
source§impl AwsDynamoDbTableProjectionBuilder
impl AwsDynamoDbTableProjectionBuilder
sourcepub fn non_key_attributes(self, input: impl Into<String>) -> Self
pub fn non_key_attributes(self, input: impl Into<String>) -> Self
Appends an item to non_key_attributes
.
To override the contents of this collection use set_non_key_attributes
.
The nonkey attributes that are projected into the index. For each attribute, provide the attribute name.
sourcepub fn set_non_key_attributes(self, input: Option<Vec<String>>) -> Self
pub fn set_non_key_attributes(self, input: Option<Vec<String>>) -> Self
The nonkey attributes that are projected into the index. For each attribute, provide the attribute name.
sourcepub fn get_non_key_attributes(&self) -> &Option<Vec<String>>
pub fn get_non_key_attributes(&self) -> &Option<Vec<String>>
The nonkey attributes that are projected into the index. For each attribute, provide the attribute name.
sourcepub fn projection_type(self, input: impl Into<String>) -> Self
pub fn projection_type(self, input: impl Into<String>) -> Self
The types of attributes that are projected into the index. Valid values are as follows:
-
ALL
-
INCLUDE
-
KEYS_ONLY
sourcepub fn set_projection_type(self, input: Option<String>) -> Self
pub fn set_projection_type(self, input: Option<String>) -> Self
The types of attributes that are projected into the index. Valid values are as follows:
-
ALL
-
INCLUDE
-
KEYS_ONLY
sourcepub fn get_projection_type(&self) -> &Option<String>
pub fn get_projection_type(&self) -> &Option<String>
The types of attributes that are projected into the index. Valid values are as follows:
-
ALL
-
INCLUDE
-
KEYS_ONLY
sourcepub fn build(self) -> AwsDynamoDbTableProjection
pub fn build(self) -> AwsDynamoDbTableProjection
Consumes the builder and constructs a AwsDynamoDbTableProjection
.
Trait Implementations§
source§impl Clone for AwsDynamoDbTableProjectionBuilder
impl Clone for AwsDynamoDbTableProjectionBuilder
source§fn clone(&self) -> AwsDynamoDbTableProjectionBuilder
fn clone(&self) -> AwsDynamoDbTableProjectionBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for AwsDynamoDbTableProjectionBuilder
impl Default for AwsDynamoDbTableProjectionBuilder
source§fn default() -> AwsDynamoDbTableProjectionBuilder
fn default() -> AwsDynamoDbTableProjectionBuilder
source§impl PartialEq for AwsDynamoDbTableProjectionBuilder
impl PartialEq for AwsDynamoDbTableProjectionBuilder
source§fn eq(&self, other: &AwsDynamoDbTableProjectionBuilder) -> bool
fn eq(&self, other: &AwsDynamoDbTableProjectionBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AwsDynamoDbTableProjectionBuilder
Auto Trait Implementations§
impl Freeze for AwsDynamoDbTableProjectionBuilder
impl RefUnwindSafe for AwsDynamoDbTableProjectionBuilder
impl Send for AwsDynamoDbTableProjectionBuilder
impl Sync for AwsDynamoDbTableProjectionBuilder
impl Unpin for AwsDynamoDbTableProjectionBuilder
impl UnwindSafe for AwsDynamoDbTableProjectionBuilder
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