Struct aws_sdk_dynamodb::model::table_creation_parameters::Builder
source · [−]pub struct Builder { /* private fields */ }
Expand description
A builder for TableCreationParameters
.
Implementations
sourceimpl Builder
impl Builder
sourcepub fn table_name(self, input: impl Into<String>) -> Self
pub fn table_name(self, input: impl Into<String>) -> Self
The name of the table created as part of the import operation.
sourcepub fn set_table_name(self, input: Option<String>) -> Self
pub fn set_table_name(self, input: Option<String>) -> Self
The name of the table created as part of the import operation.
sourcepub fn attribute_definitions(self, input: AttributeDefinition) -> Self
pub fn attribute_definitions(self, input: AttributeDefinition) -> Self
Appends an item to attribute_definitions
.
To override the contents of this collection use set_attribute_definitions
.
The attributes of the table created as part of the import operation.
sourcepub fn set_attribute_definitions(
self,
input: Option<Vec<AttributeDefinition>>
) -> Self
pub fn set_attribute_definitions(
self,
input: Option<Vec<AttributeDefinition>>
) -> Self
The attributes of the table created as part of the import operation.
sourcepub fn key_schema(self, input: KeySchemaElement) -> Self
pub fn key_schema(self, input: KeySchemaElement) -> Self
Appends an item to key_schema
.
To override the contents of this collection use set_key_schema
.
The primary key and option sort key of the table created as part of the import operation.
sourcepub fn set_key_schema(self, input: Option<Vec<KeySchemaElement>>) -> Self
pub fn set_key_schema(self, input: Option<Vec<KeySchemaElement>>) -> Self
The primary key and option sort key of the table created as part of the import operation.
sourcepub fn billing_mode(self, input: BillingMode) -> Self
pub fn billing_mode(self, input: BillingMode) -> Self
The billing mode for provisioning the table created as part of the import operation.
sourcepub fn set_billing_mode(self, input: Option<BillingMode>) -> Self
pub fn set_billing_mode(self, input: Option<BillingMode>) -> Self
The billing mode for provisioning the table created as part of the import operation.
sourcepub fn provisioned_throughput(self, input: ProvisionedThroughput) -> Self
pub fn provisioned_throughput(self, input: ProvisionedThroughput) -> Self
Represents the provisioned throughput settings for a specified table or index. The settings can be modified using the UpdateTable
operation.
For current minimum and maximum provisioned throughput values, see Service, Account, and Table Quotas in the Amazon DynamoDB Developer Guide.
sourcepub fn set_provisioned_throughput(
self,
input: Option<ProvisionedThroughput>
) -> Self
pub fn set_provisioned_throughput(
self,
input: Option<ProvisionedThroughput>
) -> Self
Represents the provisioned throughput settings for a specified table or index. The settings can be modified using the UpdateTable
operation.
For current minimum and maximum provisioned throughput values, see Service, Account, and Table Quotas in the Amazon DynamoDB Developer Guide.
sourcepub fn sse_specification(self, input: SseSpecification) -> Self
pub fn sse_specification(self, input: SseSpecification) -> Self
Represents the settings used to enable server-side encryption.
sourcepub fn set_sse_specification(self, input: Option<SseSpecification>) -> Self
pub fn set_sse_specification(self, input: Option<SseSpecification>) -> Self
Represents the settings used to enable server-side encryption.
sourcepub fn global_secondary_indexes(self, input: GlobalSecondaryIndex) -> Self
pub fn global_secondary_indexes(self, input: GlobalSecondaryIndex) -> Self
Appends an item to global_secondary_indexes
.
To override the contents of this collection use set_global_secondary_indexes
.
The Global Secondary Indexes (GSI) of the table to be created as part of the import operation.
sourcepub fn set_global_secondary_indexes(
self,
input: Option<Vec<GlobalSecondaryIndex>>
) -> Self
pub fn set_global_secondary_indexes(
self,
input: Option<Vec<GlobalSecondaryIndex>>
) -> Self
The Global Secondary Indexes (GSI) of the table to be created as part of the import operation.
sourcepub fn build(self) -> TableCreationParameters
pub fn build(self) -> TableCreationParameters
Consumes the builder and constructs a TableCreationParameters
.
Trait Implementations
sourceimpl PartialEq<Builder> for Builder
impl PartialEq<Builder> for Builder
impl StructuralPartialEq for Builder
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more