Struct aws_sdk_dynamodb::types::builders::BillingModeSummaryBuilder
source · #[non_exhaustive]pub struct BillingModeSummaryBuilder { /* private fields */ }
Expand description
A builder for BillingModeSummary
.
Implementations§
source§impl BillingModeSummaryBuilder
impl BillingModeSummaryBuilder
sourcepub fn billing_mode(self, input: BillingMode) -> Self
pub fn billing_mode(self, input: BillingMode) -> Self
Controls how you are charged for read and write throughput and how you manage capacity. This setting can be changed later.
-
PROVISIONED
- Sets the read/write capacity mode toPROVISIONED
. We recommend usingPROVISIONED
for predictable workloads. -
PAY_PER_REQUEST
- Sets the read/write capacity mode toPAY_PER_REQUEST
. We recommend usingPAY_PER_REQUEST
for unpredictable workloads.
sourcepub fn set_billing_mode(self, input: Option<BillingMode>) -> Self
pub fn set_billing_mode(self, input: Option<BillingMode>) -> Self
Controls how you are charged for read and write throughput and how you manage capacity. This setting can be changed later.
-
PROVISIONED
- Sets the read/write capacity mode toPROVISIONED
. We recommend usingPROVISIONED
for predictable workloads. -
PAY_PER_REQUEST
- Sets the read/write capacity mode toPAY_PER_REQUEST
. We recommend usingPAY_PER_REQUEST
for unpredictable workloads.
sourcepub fn get_billing_mode(&self) -> &Option<BillingMode>
pub fn get_billing_mode(&self) -> &Option<BillingMode>
Controls how you are charged for read and write throughput and how you manage capacity. This setting can be changed later.
-
PROVISIONED
- Sets the read/write capacity mode toPROVISIONED
. We recommend usingPROVISIONED
for predictable workloads. -
PAY_PER_REQUEST
- Sets the read/write capacity mode toPAY_PER_REQUEST
. We recommend usingPAY_PER_REQUEST
for unpredictable workloads.
sourcepub fn last_update_to_pay_per_request_date_time(self, input: DateTime) -> Self
pub fn last_update_to_pay_per_request_date_time(self, input: DateTime) -> Self
Represents the time when PAY_PER_REQUEST
was last set as the read/write capacity mode.
sourcepub fn set_last_update_to_pay_per_request_date_time(
self,
input: Option<DateTime>
) -> Self
pub fn set_last_update_to_pay_per_request_date_time( self, input: Option<DateTime> ) -> Self
Represents the time when PAY_PER_REQUEST
was last set as the read/write capacity mode.
sourcepub fn get_last_update_to_pay_per_request_date_time(&self) -> &Option<DateTime>
pub fn get_last_update_to_pay_per_request_date_time(&self) -> &Option<DateTime>
Represents the time when PAY_PER_REQUEST
was last set as the read/write capacity mode.
sourcepub fn build(self) -> BillingModeSummary
pub fn build(self) -> BillingModeSummary
Consumes the builder and constructs a BillingModeSummary
.
Trait Implementations§
source§impl Clone for BillingModeSummaryBuilder
impl Clone for BillingModeSummaryBuilder
source§fn clone(&self) -> BillingModeSummaryBuilder
fn clone(&self) -> BillingModeSummaryBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for BillingModeSummaryBuilder
impl Debug for BillingModeSummaryBuilder
source§impl Default for BillingModeSummaryBuilder
impl Default for BillingModeSummaryBuilder
source§fn default() -> BillingModeSummaryBuilder
fn default() -> BillingModeSummaryBuilder
source§impl PartialEq for BillingModeSummaryBuilder
impl PartialEq for BillingModeSummaryBuilder
source§fn eq(&self, other: &BillingModeSummaryBuilder) -> bool
fn eq(&self, other: &BillingModeSummaryBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.