Struct aws_sdk_dynamodb::model::billing_mode_summary::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for BillingModeSummary
.
Implementations§
source§impl Builder
impl Builder
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 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 build(self) -> BillingModeSummary
pub fn build(self) -> BillingModeSummary
Consumes the builder and constructs a BillingModeSummary
.