Interface CheckpointConfiguration.Builder

All Superinterfaces:
Buildable, CopyableBuilder<CheckpointConfiguration.Builder,CheckpointConfiguration>, SdkBuilder<CheckpointConfiguration.Builder,CheckpointConfiguration>, SdkPojo
Enclosing class:
CheckpointConfiguration

public static interface CheckpointConfiguration.Builder extends SdkPojo, CopyableBuilder<CheckpointConfiguration.Builder,CheckpointConfiguration>
  • Method Details

    • configurationType

      CheckpointConfiguration.Builder configurationType(String configurationType)

      Describes whether the application uses Managed Service for Apache Flink' default checkpointing behavior. 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

      Parameters:
      configurationType - Describes whether the application uses Managed Service for Apache Flink' default checkpointing behavior. 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

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • configurationType

      CheckpointConfiguration.Builder configurationType(ConfigurationType configurationType)

      Describes whether the application uses Managed Service for Apache Flink' default checkpointing behavior. 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

      Parameters:
      configurationType - Describes whether the application uses Managed Service for Apache Flink' default checkpointing behavior. 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

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • checkpointingEnabled

      CheckpointConfiguration.Builder checkpointingEnabled(Boolean checkpointingEnabled)

      Describes whether checkpointing is enabled for a Managed Service for Apache Flink 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.

      Parameters:
      checkpointingEnabled - Describes whether checkpointing is enabled for a Managed Service for Apache Flink 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.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • checkpointInterval

      CheckpointConfiguration.Builder checkpointInterval(Long checkpointInterval)

      Describes 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.

      Parameters:
      checkpointInterval - Describes 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.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • minPauseBetweenCheckpoints

      CheckpointConfiguration.Builder minPauseBetweenCheckpoints(Long 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.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.

      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 the CheckpointInterval, the application otherwise performs continual checkpoint operations. For more information, see Tuning Checkpointing in the Apache Flink Documentation.

      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.

      Returns:
      Returns a reference to this object so that method calls can be chained together.