Class CfnApplicationPropsMixin.CheckpointConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnApplicationPropsMixin.CheckpointConfigurationProperty>
- Enclosing interface:
CfnApplicationPropsMixin.CheckpointConfigurationProperty
CfnApplicationPropsMixin.CheckpointConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.checkpointingEnabled(Boolean checkpointingEnabled) checkpointingEnabled(IResolvable checkpointingEnabled) checkpointInterval(Number checkpointInterval) configurationType(String configurationType) minPauseBetweenCheckpoints(Number minPauseBetweenCheckpoints)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
checkpointingEnabled
@Stability(Stable) public CfnApplicationPropsMixin.CheckpointConfigurationProperty.Builder checkpointingEnabled(Boolean checkpointingEnabled) Sets the value ofCfnApplicationPropsMixin.CheckpointConfigurationProperty.getCheckpointingEnabled()- Parameters:
checkpointingEnabled- Describes whether checkpointing is enabled for a Managed Service for Apache Flink 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.- Returns:
this
-
checkpointingEnabled
@Stability(Stable) public CfnApplicationPropsMixin.CheckpointConfigurationProperty.Builder checkpointingEnabled(IResolvable checkpointingEnabled) Sets the value ofCfnApplicationPropsMixin.CheckpointConfigurationProperty.getCheckpointingEnabled()- Parameters:
checkpointingEnabled- Describes whether checkpointing is enabled for a Managed Service for Apache Flink 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.- Returns:
this
-
checkpointInterval
@Stability(Stable) public CfnApplicationPropsMixin.CheckpointConfigurationProperty.Builder checkpointInterval(Number checkpointInterval) - Parameters:
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.- Returns:
this
-
configurationType
@Stability(Stable) public CfnApplicationPropsMixin.CheckpointConfigurationProperty.Builder configurationType(String configurationType) - Parameters:
configurationType- Describes whether the application uses Managed Service for Apache Flink' default checkpointing behavior. You must set this property toCUSTOMin order to set theCheckpointingEnabled,CheckpointInterval, orMinPauseBetweenCheckpointsparameters.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
- Returns:
this
-
minPauseBetweenCheckpoints
@Stability(Stable) public CfnApplicationPropsMixin.CheckpointConfigurationProperty.Builder minPauseBetweenCheckpoints(Number minPauseBetweenCheckpoints) Sets the value ofCfnApplicationPropsMixin.CheckpointConfigurationProperty.getMinPauseBetweenCheckpoints()- Parameters:
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 theCheckpointInterval, 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.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnApplicationPropsMixin.CheckpointConfigurationProperty>- Returns:
- a new instance of
CfnApplicationPropsMixin.CheckpointConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-