Class CfnAnalysis.ValidationStrategyProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnAnalysis.ValidationStrategyProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAnalysis.ValidationStrategyProperty>
- Enclosing interface:
CfnAnalysis.ValidationStrategyProperty
@Stability(Stable)
public static final class CfnAnalysis.ValidationStrategyProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAnalysis.ValidationStrategyProperty>
A builder for
CfnAnalysis.ValidationStrategyProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnAnalysis.ValidationStrategyProperty.getMode()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
mode
Sets the value ofCfnAnalysis.ValidationStrategyProperty.getMode()
- Parameters:
mode
- The mode of validation for the asset to be created or updated. This parameter is required. When you set this value toSTRICT
, strict validation for every error is enforced. When you set this value toLENIENT
, validation is skipped for specific UI errors.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnAnalysis.ValidationStrategyProperty>
- Returns:
- a new instance of
CfnAnalysis.ValidationStrategyProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-