#[non_exhaustive]pub struct DecreaseStreamRetentionPeriodInput { /* private fields */ }
Expand description
Represents the input for DecreaseStreamRetentionPeriod
.
Implementations§
source§impl DecreaseStreamRetentionPeriodInput
impl DecreaseStreamRetentionPeriodInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DecreaseStreamRetentionPeriod, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DecreaseStreamRetentionPeriod, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<DecreaseStreamRetentionPeriod
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture DecreaseStreamRetentionPeriodInput
.
source§impl DecreaseStreamRetentionPeriodInput
impl DecreaseStreamRetentionPeriodInput
sourcepub fn stream_name(&self) -> Option<&str>
pub fn stream_name(&self) -> Option<&str>
The name of the stream to modify.
sourcepub fn retention_period_hours(&self) -> Option<i32>
pub fn retention_period_hours(&self) -> Option<i32>
The new retention period of the stream, in hours. Must be less than the current retention period.
sourcepub fn stream_arn(&self) -> Option<&str>
pub fn stream_arn(&self) -> Option<&str>
The ARN of the stream.
Trait Implementations§
source§impl Clone for DecreaseStreamRetentionPeriodInput
impl Clone for DecreaseStreamRetentionPeriodInput
source§fn clone(&self) -> DecreaseStreamRetentionPeriodInput
fn clone(&self) -> DecreaseStreamRetentionPeriodInput
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl PartialEq<DecreaseStreamRetentionPeriodInput> for DecreaseStreamRetentionPeriodInput
impl PartialEq<DecreaseStreamRetentionPeriodInput> for DecreaseStreamRetentionPeriodInput
source§fn eq(&self, other: &DecreaseStreamRetentionPeriodInput) -> bool
fn eq(&self, other: &DecreaseStreamRetentionPeriodInput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.