Class CheckpointConfiguration
- java.lang.Object
-
- software.amazon.awssdk.services.kinesisanalyticsv2.model.CheckpointConfiguration
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<CheckpointConfiguration.Builder,CheckpointConfiguration>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceCheckpointConfiguration.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CheckpointConfiguration.Builderbuilder()BooleancheckpointingEnabled()Describes whether checkpointing is enabled for a Managed Service for Apache Flink application.LongcheckpointInterval()Describes the interval in milliseconds between checkpoint operations.ConfigurationTypeconfigurationType()Describes whether the application uses Managed Service for Apache Flink' default checkpointing behavior.StringconfigurationTypeAsString()Describes whether the application uses Managed Service for Apache Flink' default checkpointing behavior.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()LongminPauseBetweenCheckpoints()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.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
configurationType
public final ConfigurationType configurationType()
Describes whether the application uses Managed Service for Apache Flink' default checkpointing behavior. You must set this property to
CUSTOMin 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
If the service returns an enum value that is not available in the current SDK version,
configurationTypewill returnConfigurationType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromconfigurationTypeAsString().- Returns:
- Describes whether the application uses Managed Service for Apache Flink' default checkpointing behavior.
You must set this property to
CUSTOMin 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
-
- See Also:
ConfigurationType
-
-
configurationTypeAsString
public final String configurationTypeAsString()
Describes whether the application uses Managed Service for Apache Flink' default checkpointing behavior. You must set this property to
CUSTOMin 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
If the service returns an enum value that is not available in the current SDK version,
configurationTypewill returnConfigurationType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromconfigurationTypeAsString().- Returns:
- Describes whether the application uses Managed Service for Apache Flink' default checkpointing behavior.
You must set this property to
CUSTOMin 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
-
- See Also:
ConfigurationType
-
-
checkpointingEnabled
public final Boolean 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:
- 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.
-
checkpointInterval
public final Long 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:
- 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.
-
minPauseBetweenCheckpoints
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.ConfigurationTypeisDEFAULT, the application will use aMinPauseBetweenCheckpointsvalue of 5000, even if this value is set using this API or in application code.- Returns:
- 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.ConfigurationTypeisDEFAULT, the application will use aMinPauseBetweenCheckpointsvalue of 5000, even if this value is set using this API or in application code.
-
toBuilder
public CheckpointConfiguration.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<CheckpointConfiguration.Builder,CheckpointConfiguration>
-
builder
public static CheckpointConfiguration.Builder builder()
-
serializableBuilderClass
public static Class<? extends CheckpointConfiguration.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-