Class CfnDashboardPropsMixin.ValidationStrategyProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.quicksight.CfnDashboardPropsMixin.ValidationStrategyProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDashboardPropsMixin.ValidationStrategyProperty>
- Enclosing interface:
CfnDashboardPropsMixin.ValidationStrategyProperty
@Stability(Stable)
public static final class CfnDashboardPropsMixin.ValidationStrategyProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDashboardPropsMixin.ValidationStrategyProperty>
A builder for
CfnDashboardPropsMixin.ValidationStrategyProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnDashboardPropsMixin.ValidationStrategyProperty.getMode()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
mode
@Stability(Stable) public CfnDashboardPropsMixin.ValidationStrategyProperty.Builder mode(String mode) Sets the value ofCfnDashboardPropsMixin.ValidationStrategyProperty.getMode()- Parameters:
mode- The mode of validation for the asset to be created or updated. 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:
buildin interfacesoftware.amazon.jsii.Builder<CfnDashboardPropsMixin.ValidationStrategyProperty>- Returns:
- a new instance of
CfnDashboardPropsMixin.ValidationStrategyProperty - Throws:
NullPointerException- if any required attribute was not provided
-