#[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 ==
.