@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CheckpointConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
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.
Constructor and Description |
---|
CheckpointConfiguration() |
Modifier and Type | Method and Description |
---|---|
CheckpointConfiguration |
clone() |
boolean |
equals(Object obj) |
Boolean |
getCheckpointingEnabled()
Describes whether checkpointing is enabled for a Flink-based Kinesis Data Analytics application.
|
Long |
getCheckpointInterval()
Describes the interval in milliseconds between checkpoint operations.
|
String |
getConfigurationType()
Describes whether the application uses Kinesis Data Analytics' default checkpointing behavior.
|
Long |
getMinPauseBetweenCheckpoints()
Describes the minimum time in milliseconds after a checkpoint operation completes that a new checkpoint operation
can start.
|
int |
hashCode() |
Boolean |
isCheckpointingEnabled()
Describes whether checkpointing is enabled for a Flink-based Kinesis Data Analytics application.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCheckpointingEnabled(Boolean checkpointingEnabled)
Describes whether checkpointing is enabled for a Flink-based Kinesis Data Analytics application.
|
void |
setCheckpointInterval(Long checkpointInterval)
Describes the interval in milliseconds between checkpoint operations.
|
void |
setConfigurationType(String configurationType)
Describes whether the application uses Kinesis Data Analytics' default checkpointing behavior.
|
void |
setMinPauseBetweenCheckpoints(Long minPauseBetweenCheckpoints)
Describes the minimum time in milliseconds after a checkpoint operation completes that a new checkpoint operation
can start.
|
String |
toString()
Returns a string representation of this object.
|
CheckpointConfiguration |
withCheckpointingEnabled(Boolean checkpointingEnabled)
Describes whether checkpointing is enabled for a Flink-based Kinesis Data Analytics application.
|
CheckpointConfiguration |
withCheckpointInterval(Long checkpointInterval)
Describes the interval in milliseconds between checkpoint operations.
|
CheckpointConfiguration |
withConfigurationType(ConfigurationType configurationType)
Describes whether the application uses Kinesis Data Analytics' default checkpointing behavior.
|
CheckpointConfiguration |
withConfigurationType(String configurationType)
Describes whether the application uses Kinesis Data Analytics' default checkpointing behavior.
|
CheckpointConfiguration |
withMinPauseBetweenCheckpoints(Long minPauseBetweenCheckpoints)
Describes the minimum time in milliseconds after a checkpoint operation completes that a new checkpoint operation
can start.
|
public void setConfigurationType(String 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
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
ConfigurationType
public String getConfigurationType()
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
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
ConfigurationType
public CheckpointConfiguration withConfigurationType(String 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
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
ConfigurationType
public CheckpointConfiguration withConfigurationType(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
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
ConfigurationType
public void setCheckpointingEnabled(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.
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.
public Boolean getCheckpointingEnabled()
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 CheckpointConfiguration withCheckpointingEnabled(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.
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.
public Boolean isCheckpointingEnabled()
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 void setCheckpointInterval(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.
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.
public Long getCheckpointInterval()
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 CheckpointConfiguration withCheckpointInterval(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.
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.
public void setMinPauseBetweenCheckpoints(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.
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.
public Long getMinPauseBetweenCheckpoints()
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 withMinPauseBetweenCheckpoints(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.
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.
public String toString()
toString
in class Object
Object.toString()
public CheckpointConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.