#[non_exhaustive]pub struct CheckpointConfigurationUpdate {
pub configuration_type_update: Option<ConfigurationType>,
pub checkpointing_enabled_update: Option<bool>,
pub checkpoint_interval_update: Option<i64>,
pub min_pause_between_checkpoints_update: Option<i64>,
}Expand description
Describes updates to the checkpointing parameters for a Flink-based Kinesis Data Analytics application.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.configuration_type_update: Option<ConfigurationType>Describes updates to whether the application uses the default checkpointing behavior of Kinesis Data Analytics. You must set this property to CUSTOM in order to set the CheckpointingEnabled, CheckpointInterval, or MinPauseBetweenCheckpoints parameters.
If this value is set to DEFAULT, the application will use the following values, even if they are set to other values using APIs or application code:
-
CheckpointingEnabled: true
-
CheckpointInterval: 60000
-
MinPauseBetweenCheckpoints: 5000
checkpointing_enabled_update: Option<bool>Describes updates to whether checkpointing is enabled for an application.
If CheckpointConfiguration.ConfigurationType is DEFAULT, the application will use a CheckpointingEnabled value of true, even if this value is set to another value using this API or in application code.
checkpoint_interval_update: Option<i64>Describes updates to the interval in milliseconds between checkpoint operations.
If CheckpointConfiguration.ConfigurationType is DEFAULT, the application will use a CheckpointInterval value of 60000, even if this value is set to another value using this API or in application code.
min_pause_between_checkpoints_update: Option<i64>Describes updates to the minimum time in milliseconds after a checkpoint operation completes that a new checkpoint operation can start.
If CheckpointConfiguration.ConfigurationType is DEFAULT, the application will use a MinPauseBetweenCheckpoints value of 5000, even if this value is set using this API or in application code.
Implementations§
source§impl CheckpointConfigurationUpdate
impl CheckpointConfigurationUpdate
sourcepub fn configuration_type_update(&self) -> Option<&ConfigurationType>
pub fn configuration_type_update(&self) -> Option<&ConfigurationType>
Describes updates to whether the application uses the default checkpointing behavior of Kinesis Data Analytics. You must set this property to CUSTOM in order to set the CheckpointingEnabled, CheckpointInterval, or MinPauseBetweenCheckpoints parameters.
If this value is set to DEFAULT, the application will use the following values, even if they are set to other values using APIs or application code:
-
CheckpointingEnabled: true
-
CheckpointInterval: 60000
-
MinPauseBetweenCheckpoints: 5000
sourcepub fn checkpointing_enabled_update(&self) -> Option<bool>
pub fn checkpointing_enabled_update(&self) -> Option<bool>
Describes updates to whether checkpointing is enabled for an application.
If CheckpointConfiguration.ConfigurationType is DEFAULT, the application will use a CheckpointingEnabled value of true, even if this value is set to another value using this API or in application code.
sourcepub fn checkpoint_interval_update(&self) -> Option<i64>
pub fn checkpoint_interval_update(&self) -> Option<i64>
Describes updates to the interval in milliseconds between checkpoint operations.
If CheckpointConfiguration.ConfigurationType is DEFAULT, the application will use a CheckpointInterval value of 60000, even if this value is set to another value using this API or in application code.
sourcepub fn min_pause_between_checkpoints_update(&self) -> Option<i64>
pub fn min_pause_between_checkpoints_update(&self) -> Option<i64>
Describes updates to the minimum time in milliseconds after a checkpoint operation completes that a new checkpoint operation can start.
If CheckpointConfiguration.ConfigurationType is DEFAULT, the application will use a MinPauseBetweenCheckpoints value of 5000, even if this value is set using this API or in application code.
source§impl CheckpointConfigurationUpdate
impl CheckpointConfigurationUpdate
sourcepub fn builder() -> CheckpointConfigurationUpdateBuilder
pub fn builder() -> CheckpointConfigurationUpdateBuilder
Creates a new builder-style object to manufacture CheckpointConfigurationUpdate.
Trait Implementations§
source§impl Clone for CheckpointConfigurationUpdate
impl Clone for CheckpointConfigurationUpdate
source§fn clone(&self) -> CheckpointConfigurationUpdate
fn clone(&self) -> CheckpointConfigurationUpdate
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl PartialEq for CheckpointConfigurationUpdate
impl PartialEq for CheckpointConfigurationUpdate
source§fn eq(&self, other: &CheckpointConfigurationUpdate) -> bool
fn eq(&self, other: &CheckpointConfigurationUpdate) -> bool
self and other values to be equal, and is used
by ==.