Class CfnApplicationV2.FlinkRunConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.kinesisanalytics.CfnApplicationV2.FlinkRunConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnApplicationV2.FlinkRunConfigurationProperty>
- Enclosing interface:
CfnApplicationV2.FlinkRunConfigurationProperty
@Stability(Stable)
public static final class CfnApplicationV2.FlinkRunConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnApplicationV2.FlinkRunConfigurationProperty>
A builder for
CfnApplicationV2.FlinkRunConfigurationProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionallowNonRestoredState
(Boolean allowNonRestoredState) allowNonRestoredState
(IResolvable allowNonRestoredState) build()
Builds the configured instance.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
allowNonRestoredState
@Stability(Stable) public CfnApplicationV2.FlinkRunConfigurationProperty.Builder allowNonRestoredState(Boolean allowNonRestoredState) - Parameters:
allowNonRestoredState
- When restoring from a snapshot, specifies whether the runtime is allowed to skip a state that cannot be mapped to the new program. This will happen if the program is updated between snapshots to remove stateful parameters, and state data in the snapshot no longer corresponds to valid application data. For more information, see Allowing Non-Restored State in the Apache Flink documentation .This value defaults to
false
. If you update your application without specifying this parameter,AllowNonRestoredState
will be set tofalse
, even if it was previously set totrue
.- Returns:
this
-
allowNonRestoredState
@Stability(Stable) public CfnApplicationV2.FlinkRunConfigurationProperty.Builder allowNonRestoredState(IResolvable allowNonRestoredState) - Parameters:
allowNonRestoredState
- When restoring from a snapshot, specifies whether the runtime is allowed to skip a state that cannot be mapped to the new program. This will happen if the program is updated between snapshots to remove stateful parameters, and state data in the snapshot no longer corresponds to valid application data. For more information, see Allowing Non-Restored State in the Apache Flink documentation .This value defaults to
false
. If you update your application without specifying this parameter,AllowNonRestoredState
will be set tofalse
, even if it was previously set totrue
.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnApplicationV2.FlinkRunConfigurationProperty>
- Returns:
- a new instance of
CfnApplicationV2.FlinkRunConfigurationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-