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