@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 Java-based Kinesis Data Analytics application.
|
Long |
checkpointInterval()
Describes the interval in milliseconds between checkpoint operations.
|
ConfigurationType |
configurationType()
Describes whether the application uses Amazon Kinesis Data Analytics' default checkpointing behavior.
|
String |
configurationTypeAsString()
Describes whether the application uses Amazon Kinesis Data Analytics' default checkpointing behavior.
|
boolean |
equals(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()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public ConfigurationType configurationType()
Describes whether the application uses Amazon Kinesis Data Analytics' default checkpointing behavior.
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()
.
ConfigurationType
public String configurationTypeAsString()
Describes whether the application uses Amazon Kinesis Data Analytics' default checkpointing behavior.
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()
.
ConfigurationType
public Boolean checkpointingEnabled()
Describes whether checkpointing is enabled for a Java-based Kinesis Data Analytics application.
public Long checkpointInterval()
Describes the interval in milliseconds between checkpoint operations.
public 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.
CheckpointInterval
, the
application otherwise performs continual checkpoint operations. For more information, see Tuning Checkpointing in the Apache Flink Documentation.public CheckpointConfiguration.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<CheckpointConfiguration.Builder,CheckpointConfiguration>
public static CheckpointConfiguration.Builder builder()
public static Class<? extends CheckpointConfiguration.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.