#[non_exhaustive]pub struct CheckpointConfigurationUpdateBuilder { /* private fields */ }Expand description
A builder for CheckpointConfigurationUpdate.
Implementations§
source§impl CheckpointConfigurationUpdateBuilder
impl CheckpointConfigurationUpdateBuilder
sourcepub fn configuration_type_update(self, input: ConfigurationType) -> Self
pub fn configuration_type_update(self, input: ConfigurationType) -> Self
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 set_configuration_type_update(
self,
input: Option<ConfigurationType>
) -> Self
pub fn set_configuration_type_update( self, input: Option<ConfigurationType> ) -> Self
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 get_configuration_type_update(&self) -> &Option<ConfigurationType>
pub fn get_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, input: bool) -> Self
pub fn checkpointing_enabled_update(self, input: bool) -> Self
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 set_checkpointing_enabled_update(self, input: Option<bool>) -> Self
pub fn set_checkpointing_enabled_update(self, input: Option<bool>) -> Self
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 get_checkpointing_enabled_update(&self) -> &Option<bool>
pub fn get_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, input: i64) -> Self
pub fn checkpoint_interval_update(self, input: i64) -> Self
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 set_checkpoint_interval_update(self, input: Option<i64>) -> Self
pub fn set_checkpoint_interval_update(self, input: Option<i64>) -> Self
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 get_checkpoint_interval_update(&self) -> &Option<i64>
pub fn get_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, input: i64) -> Self
pub fn min_pause_between_checkpoints_update(self, input: i64) -> Self
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.
sourcepub fn set_min_pause_between_checkpoints_update(
self,
input: Option<i64>
) -> Self
pub fn set_min_pause_between_checkpoints_update( self, input: Option<i64> ) -> Self
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.
sourcepub fn get_min_pause_between_checkpoints_update(&self) -> &Option<i64>
pub fn get_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.
sourcepub fn build(self) -> CheckpointConfigurationUpdate
pub fn build(self) -> CheckpointConfigurationUpdate
Consumes the builder and constructs a CheckpointConfigurationUpdate.
Trait Implementations§
source§impl Clone for CheckpointConfigurationUpdateBuilder
impl Clone for CheckpointConfigurationUpdateBuilder
source§fn clone(&self) -> CheckpointConfigurationUpdateBuilder
fn clone(&self) -> CheckpointConfigurationUpdateBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for CheckpointConfigurationUpdateBuilder
impl Default for CheckpointConfigurationUpdateBuilder
source§fn default() -> CheckpointConfigurationUpdateBuilder
fn default() -> CheckpointConfigurationUpdateBuilder
source§impl PartialEq for CheckpointConfigurationUpdateBuilder
impl PartialEq for CheckpointConfigurationUpdateBuilder
source§fn eq(&self, other: &CheckpointConfigurationUpdateBuilder) -> bool
fn eq(&self, other: &CheckpointConfigurationUpdateBuilder) -> bool
self and other values to be equal, and is used
by ==.