Class CfnDashboard.DashboardErrorProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnDashboard.DashboardErrorProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDashboard.DashboardErrorProperty>
- Enclosing interface:
CfnDashboard.DashboardErrorProperty
@Stability(Stable)
public static final class CfnDashboard.DashboardErrorProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDashboard.DashboardErrorProperty>
A builder for
CfnDashboard.DashboardErrorProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnDashboard.DashboardErrorProperty.getMessage()
Sets the value ofCfnDashboard.DashboardErrorProperty.getType()
violatedEntities
(List<? extends Object> violatedEntities) Sets the value ofCfnDashboard.DashboardErrorProperty.getViolatedEntities()
violatedEntities
(IResolvable violatedEntities) Sets the value ofCfnDashboard.DashboardErrorProperty.getViolatedEntities()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
message
Sets the value ofCfnDashboard.DashboardErrorProperty.getMessage()
- Parameters:
message
- Message.- Returns:
this
-
type
Sets the value ofCfnDashboard.DashboardErrorProperty.getType()
- Parameters:
type
- Type.- Returns:
this
-
violatedEntities
@Stability(Stable) public CfnDashboard.DashboardErrorProperty.Builder violatedEntities(IResolvable violatedEntities) Sets the value ofCfnDashboard.DashboardErrorProperty.getViolatedEntities()
- Parameters:
violatedEntities
- Lists the violated entities that caused the dashboard error.- Returns:
this
-
violatedEntities
@Stability(Stable) public CfnDashboard.DashboardErrorProperty.Builder violatedEntities(List<? extends Object> violatedEntities) Sets the value ofCfnDashboard.DashboardErrorProperty.getViolatedEntities()
- Parameters:
violatedEntities
- Lists the violated entities that caused the dashboard error.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnDashboard.DashboardErrorProperty>
- Returns:
- a new instance of
CfnDashboard.DashboardErrorProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-