@Generated(value="software.amazon.awssdk:codegen") public final class CheckpointConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<CheckpointConfiguration.Builder,CheckpointConfiguration>
Describes an application's checkpointing configuration. Checkpointing is the process of persisting application state for fault tolerance. For more information, see Checkpoints for Fault Tolerance in the Apache Flink Documentation.
| Modifier and Type | Class and Description |
|---|---|
static interface |
CheckpointConfiguration.Builder |
| Modifier and Type | Method and Description |
|---|---|
static CheckpointConfiguration.Builder |
builder() |
Boolean |
checkpointingEnabled()
Describes whether checkpointing is enabled for a Flink-based Kinesis Data Analytics application.
|
Long |
checkpointInterval()
Describes the interval in milliseconds between checkpoint operations.
|
ConfigurationType |
configurationType()
Describes whether the application uses Kinesis Data Analytics' default checkpointing behavior.
|
String |
configurationTypeAsString()
Describes whether the application uses Kinesis Data Analytics' default checkpointing behavior.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Long |
minPauseBetweenCheckpoints()
Describes the minimum time in milliseconds after a checkpoint operation completes that a new checkpoint operation
can start.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CheckpointConfiguration.Builder> |
serializableBuilderClass() |
CheckpointConfiguration.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final ConfigurationType configurationType()
Describes whether the application uses Kinesis Data Analytics' 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
If the service returns an enum value that is not available in the current SDK version, configurationType
will return ConfigurationType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from configurationTypeAsString().
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
ConfigurationTypepublic final String configurationTypeAsString()
Describes whether the application uses Kinesis Data Analytics' 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
If the service returns an enum value that is not available in the current SDK version, configurationType
will return ConfigurationType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from configurationTypeAsString().
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
ConfigurationTypepublic final Boolean checkpointingEnabled()
Describes whether checkpointing is enabled for a Flink-based Kinesis Data Analytics 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.
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.
public final 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.
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.
public final 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.
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.
public CheckpointConfiguration.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CheckpointConfiguration.Builder,CheckpointConfiguration>public static CheckpointConfiguration.Builder builder()
public static Class<? extends CheckpointConfiguration.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.