@Stability(value=Stable) public static final class CfnApplicationV2.CheckpointConfigurationProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnApplicationV2.CheckpointConfigurationProperty>
CfnApplicationV2.CheckpointConfigurationProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnApplicationV2.CheckpointConfigurationProperty |
build()
Builds the configured instance.
|
CfnApplicationV2.CheckpointConfigurationProperty.Builder |
checkpointingEnabled(Boolean checkpointingEnabled)
|
CfnApplicationV2.CheckpointConfigurationProperty.Builder |
checkpointingEnabled(IResolvable checkpointingEnabled)
|
CfnApplicationV2.CheckpointConfigurationProperty.Builder |
checkpointInterval(Number checkpointInterval)
Sets the value of
CfnApplicationV2.CheckpointConfigurationProperty.getCheckpointInterval() |
CfnApplicationV2.CheckpointConfigurationProperty.Builder |
configurationType(String configurationType)
Sets the value of
CfnApplicationV2.CheckpointConfigurationProperty.getConfigurationType() |
CfnApplicationV2.CheckpointConfigurationProperty.Builder |
minPauseBetweenCheckpoints(Number minPauseBetweenCheckpoints)
|
@Stability(value=Stable) public CfnApplicationV2.CheckpointConfigurationProperty.Builder configurationType(String configurationType)
CfnApplicationV2.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 CfnApplicationV2.CheckpointConfigurationProperty.Builder checkpointingEnabled(Boolean checkpointingEnabled)
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 CfnApplicationV2.CheckpointConfigurationProperty.Builder checkpointingEnabled(IResolvable checkpointingEnabled)
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 CfnApplicationV2.CheckpointConfigurationProperty.Builder checkpointInterval(Number checkpointInterval)
CfnApplicationV2.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 CfnApplicationV2.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 CfnApplicationV2.CheckpointConfigurationProperty build()
build in interface software.amazon.jsii.Builder<CfnApplicationV2.CheckpointConfigurationProperty>CfnApplicationV2.CheckpointConfigurationPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.