Class CfnTemplatePropsMixin.TemplateErrorProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.quicksight.CfnTemplatePropsMixin.TemplateErrorProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTemplatePropsMixin.TemplateErrorProperty>
- Enclosing interface:
CfnTemplatePropsMixin.TemplateErrorProperty
@Stability(Stable)
public static final class CfnTemplatePropsMixin.TemplateErrorProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTemplatePropsMixin.TemplateErrorProperty>
A builder for
CfnTemplatePropsMixin.TemplateErrorProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnTemplatePropsMixin.TemplateErrorProperty.getMessage()Sets the value ofCfnTemplatePropsMixin.TemplateErrorProperty.getType()violatedEntities(List<? extends Object> violatedEntities) Sets the value ofCfnTemplatePropsMixin.TemplateErrorProperty.getViolatedEntities()violatedEntities(IResolvable violatedEntities) Sets the value ofCfnTemplatePropsMixin.TemplateErrorProperty.getViolatedEntities()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
message
@Stability(Stable) public CfnTemplatePropsMixin.TemplateErrorProperty.Builder message(String message) Sets the value ofCfnTemplatePropsMixin.TemplateErrorProperty.getMessage()- Parameters:
message- Description of the error type.- Returns:
this
-
type
Sets the value ofCfnTemplatePropsMixin.TemplateErrorProperty.getType()- Parameters:
type- Type of error.- Returns:
this
-
violatedEntities
@Stability(Stable) public CfnTemplatePropsMixin.TemplateErrorProperty.Builder violatedEntities(IResolvable violatedEntities) Sets the value ofCfnTemplatePropsMixin.TemplateErrorProperty.getViolatedEntities()- Parameters:
violatedEntities- An error path that shows which entities caused the template error.- Returns:
this
-
violatedEntities
@Stability(Stable) public CfnTemplatePropsMixin.TemplateErrorProperty.Builder violatedEntities(List<? extends Object> violatedEntities) Sets the value ofCfnTemplatePropsMixin.TemplateErrorProperty.getViolatedEntities()- Parameters:
violatedEntities- An error path that shows which entities caused the template error.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTemplatePropsMixin.TemplateErrorProperty>- Returns:
- a new instance of
CfnTemplatePropsMixin.TemplateErrorProperty - Throws:
NullPointerException- if any required attribute was not provided
-