Class StopWithSavepointRequestBody

java.lang.Object
org.apache.flink.runtime.rest.messages.job.savepoints.stop.StopWithSavepointRequestBody
All Implemented Interfaces:
RequestBody

public class StopWithSavepointRequestBody extends Object implements RequestBody
RequestBody for stopping a job with a savepoint.
  • Field Details

  • Constructor Details

    • StopWithSavepointRequestBody

      public StopWithSavepointRequestBody(@Nullable String targetDirectory, @Nullable Boolean drain, @Nullable org.apache.flink.core.execution.SavepointFormatType formatType, @Nullable TriggerId triggerId)
  • Method Details

    • getTargetDirectory

      public Optional<String> getTargetDirectory()
    • shouldDrain

      public boolean shouldDrain()
    • getTriggerId

      public Optional<TriggerId> getTriggerId()
    • getFormatType

      public org.apache.flink.core.execution.SavepointFormatType getFormatType()