Struct aws_sdk_dynamodb::model::BillingModeSummary
source · [−]#[non_exhaustive]pub struct BillingModeSummary { /* private fields */ }
Expand description
Contains the details for the read/write capacity mode.
Implementations
sourceimpl BillingModeSummary
impl BillingModeSummary
sourcepub fn billing_mode(&self) -> Option<&BillingMode>
pub fn 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) -> Option<&DateTime>
pub fn 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.
sourceimpl BillingModeSummary
impl BillingModeSummary
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture BillingModeSummary
.
Trait Implementations
sourceimpl Clone for BillingModeSummary
impl Clone for BillingModeSummary
sourcefn clone(&self) -> BillingModeSummary
fn clone(&self) -> BillingModeSummary
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for BillingModeSummary
impl Debug for BillingModeSummary
sourceimpl PartialEq<BillingModeSummary> for BillingModeSummary
impl PartialEq<BillingModeSummary> for BillingModeSummary
sourcefn eq(&self, other: &BillingModeSummary) -> bool
fn eq(&self, other: &BillingModeSummary) -> bool
impl StructuralPartialEq for BillingModeSummary
Auto Trait Implementations
impl RefUnwindSafe for BillingModeSummary
impl Send for BillingModeSummary
impl Sync for BillingModeSummary
impl Unpin for BillingModeSummary
impl UnwindSafe for BillingModeSummary
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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