#[non_exhaustive]pub struct AwsDynamoDbTableProvisionedThroughputBuilder { /* private fields */ }
Expand description
A builder for AwsDynamoDbTableProvisionedThroughput
.
Implementations§
source§impl AwsDynamoDbTableProvisionedThroughputBuilder
impl AwsDynamoDbTableProvisionedThroughputBuilder
sourcepub fn last_decrease_date_time(self, input: impl Into<String>) -> Self
pub fn last_decrease_date_time(self, input: impl Into<String>) -> Self
Indicates when the provisioned throughput was last decreased.
This field accepts only the specified formats. Timestamps can end with Z
or ("+" / "-") time-hour [":" time-minute]
. The time-secfrac after seconds is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here are valid timestamp formats with examples:
-
YYYY-MM-DDTHH:MM:SSZ
(for example,2019-01-31T23:00:00Z
) -
YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ
(for example,2019-01-31T23:00:00.123456789Z
) -
YYYY-MM-DDTHH:MM:SS+HH:MM
(for example,2024-01-04T15:25:10+17:59
) -
YYYY-MM-DDTHH:MM:SS-HHMM
(for example,2024-01-04T15:25:10-1759
) -
YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM
(for example,2024-01-04T15:25:10.123456789+17:59
)
sourcepub fn set_last_decrease_date_time(self, input: Option<String>) -> Self
pub fn set_last_decrease_date_time(self, input: Option<String>) -> Self
Indicates when the provisioned throughput was last decreased.
This field accepts only the specified formats. Timestamps can end with Z
or ("+" / "-") time-hour [":" time-minute]
. The time-secfrac after seconds is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here are valid timestamp formats with examples:
-
YYYY-MM-DDTHH:MM:SSZ
(for example,2019-01-31T23:00:00Z
) -
YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ
(for example,2019-01-31T23:00:00.123456789Z
) -
YYYY-MM-DDTHH:MM:SS+HH:MM
(for example,2024-01-04T15:25:10+17:59
) -
YYYY-MM-DDTHH:MM:SS-HHMM
(for example,2024-01-04T15:25:10-1759
) -
YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM
(for example,2024-01-04T15:25:10.123456789+17:59
)
sourcepub fn get_last_decrease_date_time(&self) -> &Option<String>
pub fn get_last_decrease_date_time(&self) -> &Option<String>
Indicates when the provisioned throughput was last decreased.
This field accepts only the specified formats. Timestamps can end with Z
or ("+" / "-") time-hour [":" time-minute]
. The time-secfrac after seconds is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here are valid timestamp formats with examples:
-
YYYY-MM-DDTHH:MM:SSZ
(for example,2019-01-31T23:00:00Z
) -
YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ
(for example,2019-01-31T23:00:00.123456789Z
) -
YYYY-MM-DDTHH:MM:SS+HH:MM
(for example,2024-01-04T15:25:10+17:59
) -
YYYY-MM-DDTHH:MM:SS-HHMM
(for example,2024-01-04T15:25:10-1759
) -
YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM
(for example,2024-01-04T15:25:10.123456789+17:59
)
sourcepub fn last_increase_date_time(self, input: impl Into<String>) -> Self
pub fn last_increase_date_time(self, input: impl Into<String>) -> Self
Indicates when the provisioned throughput was last increased.
This field accepts only the specified formats. Timestamps can end with Z
or ("+" / "-") time-hour [":" time-minute]
. The time-secfrac after seconds is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here are valid timestamp formats with examples:
-
YYYY-MM-DDTHH:MM:SSZ
(for example,2019-01-31T23:00:00Z
) -
YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ
(for example,2019-01-31T23:00:00.123456789Z
) -
YYYY-MM-DDTHH:MM:SS+HH:MM
(for example,2024-01-04T15:25:10+17:59
) -
YYYY-MM-DDTHH:MM:SS-HHMM
(for example,2024-01-04T15:25:10-1759
) -
YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM
(for example,2024-01-04T15:25:10.123456789+17:59
)
sourcepub fn set_last_increase_date_time(self, input: Option<String>) -> Self
pub fn set_last_increase_date_time(self, input: Option<String>) -> Self
Indicates when the provisioned throughput was last increased.
This field accepts only the specified formats. Timestamps can end with Z
or ("+" / "-") time-hour [":" time-minute]
. The time-secfrac after seconds is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here are valid timestamp formats with examples:
-
YYYY-MM-DDTHH:MM:SSZ
(for example,2019-01-31T23:00:00Z
) -
YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ
(for example,2019-01-31T23:00:00.123456789Z
) -
YYYY-MM-DDTHH:MM:SS+HH:MM
(for example,2024-01-04T15:25:10+17:59
) -
YYYY-MM-DDTHH:MM:SS-HHMM
(for example,2024-01-04T15:25:10-1759
) -
YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM
(for example,2024-01-04T15:25:10.123456789+17:59
)
sourcepub fn get_last_increase_date_time(&self) -> &Option<String>
pub fn get_last_increase_date_time(&self) -> &Option<String>
Indicates when the provisioned throughput was last increased.
This field accepts only the specified formats. Timestamps can end with Z
or ("+" / "-") time-hour [":" time-minute]
. The time-secfrac after seconds is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here are valid timestamp formats with examples:
-
YYYY-MM-DDTHH:MM:SSZ
(for example,2019-01-31T23:00:00Z
) -
YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ
(for example,2019-01-31T23:00:00.123456789Z
) -
YYYY-MM-DDTHH:MM:SS+HH:MM
(for example,2024-01-04T15:25:10+17:59
) -
YYYY-MM-DDTHH:MM:SS-HHMM
(for example,2024-01-04T15:25:10-1759
) -
YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM
(for example,2024-01-04T15:25:10.123456789+17:59
)
sourcepub fn number_of_decreases_today(self, input: i32) -> Self
pub fn number_of_decreases_today(self, input: i32) -> Self
The number of times during the current UTC calendar day that the provisioned throughput was decreased.
sourcepub fn set_number_of_decreases_today(self, input: Option<i32>) -> Self
pub fn set_number_of_decreases_today(self, input: Option<i32>) -> Self
The number of times during the current UTC calendar day that the provisioned throughput was decreased.
sourcepub fn get_number_of_decreases_today(&self) -> &Option<i32>
pub fn get_number_of_decreases_today(&self) -> &Option<i32>
The number of times during the current UTC calendar day that the provisioned throughput was decreased.
sourcepub fn read_capacity_units(self, input: i32) -> Self
pub fn read_capacity_units(self, input: i32) -> Self
The maximum number of strongly consistent reads consumed per second before DynamoDB returns a ThrottlingException
.
sourcepub fn set_read_capacity_units(self, input: Option<i32>) -> Self
pub fn set_read_capacity_units(self, input: Option<i32>) -> Self
The maximum number of strongly consistent reads consumed per second before DynamoDB returns a ThrottlingException
.
sourcepub fn get_read_capacity_units(&self) -> &Option<i32>
pub fn get_read_capacity_units(&self) -> &Option<i32>
The maximum number of strongly consistent reads consumed per second before DynamoDB returns a ThrottlingException
.
sourcepub fn write_capacity_units(self, input: i32) -> Self
pub fn write_capacity_units(self, input: i32) -> Self
The maximum number of writes consumed per second before DynamoDB returns a ThrottlingException
.
sourcepub fn set_write_capacity_units(self, input: Option<i32>) -> Self
pub fn set_write_capacity_units(self, input: Option<i32>) -> Self
The maximum number of writes consumed per second before DynamoDB returns a ThrottlingException
.
sourcepub fn get_write_capacity_units(&self) -> &Option<i32>
pub fn get_write_capacity_units(&self) -> &Option<i32>
The maximum number of writes consumed per second before DynamoDB returns a ThrottlingException
.
sourcepub fn build(self) -> AwsDynamoDbTableProvisionedThroughput
pub fn build(self) -> AwsDynamoDbTableProvisionedThroughput
Consumes the builder and constructs a AwsDynamoDbTableProvisionedThroughput
.
Trait Implementations§
source§impl Clone for AwsDynamoDbTableProvisionedThroughputBuilder
impl Clone for AwsDynamoDbTableProvisionedThroughputBuilder
source§fn clone(&self) -> AwsDynamoDbTableProvisionedThroughputBuilder
fn clone(&self) -> AwsDynamoDbTableProvisionedThroughputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for AwsDynamoDbTableProvisionedThroughputBuilder
impl Default for AwsDynamoDbTableProvisionedThroughputBuilder
source§fn default() -> AwsDynamoDbTableProvisionedThroughputBuilder
fn default() -> AwsDynamoDbTableProvisionedThroughputBuilder
source§impl PartialEq for AwsDynamoDbTableProvisionedThroughputBuilder
impl PartialEq for AwsDynamoDbTableProvisionedThroughputBuilder
source§fn eq(&self, other: &AwsDynamoDbTableProvisionedThroughputBuilder) -> bool
fn eq(&self, other: &AwsDynamoDbTableProvisionedThroughputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AwsDynamoDbTableProvisionedThroughputBuilder
Auto Trait Implementations§
impl Freeze for AwsDynamoDbTableProvisionedThroughputBuilder
impl RefUnwindSafe for AwsDynamoDbTableProvisionedThroughputBuilder
impl Send for AwsDynamoDbTableProvisionedThroughputBuilder
impl Sync for AwsDynamoDbTableProvisionedThroughputBuilder
impl Unpin for AwsDynamoDbTableProvisionedThroughputBuilder
impl UnwindSafe for AwsDynamoDbTableProvisionedThroughputBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more