@Stability(value=Stable) public static final class CfnApplication.CheckpointConfigurationProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnApplication.CheckpointConfigurationProperty>
CfnApplication.CheckpointConfigurationProperty| Constructor and Description |
|---|
Builder() |
@Stability(value=Stable) public CfnApplication.CheckpointConfigurationProperty.Builder configurationType(String configurationType)
CfnApplication.CheckpointConfigurationProperty.getConfigurationType()configurationType - Describes whether the application uses Kinesis Data Analytics' default checkpointing behavior. This parameter is required.
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
this@Stability(value=Stable) public CfnApplication.CheckpointConfigurationProperty.Builder checkpointingEnabled(Boolean checkpointingEnabled)
CfnApplication.CheckpointConfigurationProperty.getCheckpointingEnabled()checkpointingEnabled - Describes whether checkpointing is enabled for a Flink-based Kinesis Data Analytics application.
If
CheckpointConfiguration.ConfigurationTypeisDEFAULT, the application will use aCheckpointingEnabledvalue oftrue, even if this value is set to another value using this API or in application code.
this@Stability(value=Stable) public CfnApplication.CheckpointConfigurationProperty.Builder checkpointingEnabled(IResolvable checkpointingEnabled)
CfnApplication.CheckpointConfigurationProperty.getCheckpointingEnabled()checkpointingEnabled - Describes whether checkpointing is enabled for a Flink-based Kinesis Data Analytics application.
If
CheckpointConfiguration.ConfigurationTypeisDEFAULT, the application will use aCheckpointingEnabledvalue oftrue, even if this value is set to another value using this API or in application code.
this@Stability(value=Stable) public CfnApplication.CheckpointConfigurationProperty.Builder checkpointInterval(Number checkpointInterval)
CfnApplication.CheckpointConfigurationProperty.getCheckpointInterval()checkpointInterval - Describes the interval in milliseconds between checkpoint operations.
If
CheckpointConfiguration.ConfigurationTypeisDEFAULT, the application will use aCheckpointIntervalvalue of 60000, even if this value is set to another value using this API or in application code.
this@Stability(value=Stable) public CfnApplication.CheckpointConfigurationProperty.Builder minPauseBetweenCheckpoints(Number minPauseBetweenCheckpoints)
minPauseBetweenCheckpoints - Describes the minimum time in milliseconds after a checkpoint operation completes that a new checkpoint operation can start.
If a checkpoint operation takes longer than the CheckpointInterval , the application otherwise performs continual checkpoint operations. For more information, see Tuning Checkpointing in the Apache Flink Documentation .
If
CheckpointConfiguration.ConfigurationTypeisDEFAULT, the application will use aMinPauseBetweenCheckpointsvalue of 5000, even if this value is set using this API or in application code.
this@Stability(value=Stable) public CfnApplication.CheckpointConfigurationProperty build()
build in interface software.amazon.jsii.Builder<CfnApplication.CheckpointConfigurationProperty>CfnApplication.CheckpointConfigurationPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.