Class CfnApplicationPropsMixin.FlinkRunConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.kinesisanalyticsv2.CfnApplicationPropsMixin.FlinkRunConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnApplicationPropsMixin.FlinkRunConfigurationProperty>
- Enclosing interface:
CfnApplicationPropsMixin.FlinkRunConfigurationProperty
@Stability(Stable)
public static final class CfnApplicationPropsMixin.FlinkRunConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnApplicationPropsMixin.FlinkRunConfigurationProperty>
A builder for
CfnApplicationPropsMixin.FlinkRunConfigurationProperty-
Constructor Summary
Constructors -
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 CfnApplicationPropsMixin.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,AllowNonRestoredStatewill be set tofalse, even if it was previously set totrue.- Returns:
this
-
allowNonRestoredState
@Stability(Stable) public CfnApplicationPropsMixin.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,AllowNonRestoredStatewill be set tofalse, even if it was previously set totrue.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnApplicationPropsMixin.FlinkRunConfigurationProperty>- Returns:
- a new instance of
CfnApplicationPropsMixin.FlinkRunConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-