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