Class CfnTemplatePropsMixin.TemplateVersionProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.quicksight.CfnTemplatePropsMixin.TemplateVersionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTemplatePropsMixin.TemplateVersionProperty>
- Enclosing interface:
CfnTemplatePropsMixin.TemplateVersionProperty
@Stability(Stable)
public static final class CfnTemplatePropsMixin.TemplateVersionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTemplatePropsMixin.TemplateVersionProperty>
A builder for
CfnTemplatePropsMixin.TemplateVersionProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.createdTime(String createdTime) Sets the value ofCfnTemplatePropsMixin.TemplateVersionProperty.getCreatedTime()dataSetConfigurations(List<? extends Object> dataSetConfigurations) Sets the value ofCfnTemplatePropsMixin.TemplateVersionProperty.getDataSetConfigurations()dataSetConfigurations(IResolvable dataSetConfigurations) Sets the value ofCfnTemplatePropsMixin.TemplateVersionProperty.getDataSetConfigurations()description(String description) Sets the value ofCfnTemplatePropsMixin.TemplateVersionProperty.getDescription()Sets the value ofCfnTemplatePropsMixin.TemplateVersionProperty.getErrors()errors(IResolvable errors) Sets the value ofCfnTemplatePropsMixin.TemplateVersionProperty.getErrors()Sets the value ofCfnTemplatePropsMixin.TemplateVersionProperty.getSheets()sheets(IResolvable sheets) Sets the value ofCfnTemplatePropsMixin.TemplateVersionProperty.getSheets()sourceEntityArn(String sourceEntityArn) Sets the value ofCfnTemplatePropsMixin.TemplateVersionProperty.getSourceEntityArn()Sets the value ofCfnTemplatePropsMixin.TemplateVersionProperty.getStatus()Sets the value ofCfnTemplatePropsMixin.TemplateVersionProperty.getThemeArn()versionNumber(Number versionNumber) Sets the value ofCfnTemplatePropsMixin.TemplateVersionProperty.getVersionNumber()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
createdTime
@Stability(Stable) public CfnTemplatePropsMixin.TemplateVersionProperty.Builder createdTime(String createdTime) Sets the value ofCfnTemplatePropsMixin.TemplateVersionProperty.getCreatedTime()- Parameters:
createdTime- The time that this template version was created.- Returns:
this
-
dataSetConfigurations
@Stability(Stable) public CfnTemplatePropsMixin.TemplateVersionProperty.Builder dataSetConfigurations(IResolvable dataSetConfigurations) Sets the value ofCfnTemplatePropsMixin.TemplateVersionProperty.getDataSetConfigurations()- Parameters:
dataSetConfigurations- Schema of the dataset identified by the placeholder. Any dashboard created from this template should be bound to new datasets matching the same schema described through this API operation.- Returns:
this
-
dataSetConfigurations
@Stability(Stable) public CfnTemplatePropsMixin.TemplateVersionProperty.Builder dataSetConfigurations(List<? extends Object> dataSetConfigurations) Sets the value ofCfnTemplatePropsMixin.TemplateVersionProperty.getDataSetConfigurations()- Parameters:
dataSetConfigurations- Schema of the dataset identified by the placeholder. Any dashboard created from this template should be bound to new datasets matching the same schema described through this API operation.- Returns:
this
-
description
@Stability(Stable) public CfnTemplatePropsMixin.TemplateVersionProperty.Builder description(String description) Sets the value ofCfnTemplatePropsMixin.TemplateVersionProperty.getDescription()- Parameters:
description- The description of the template.- Returns:
this
-
errors
@Stability(Stable) public CfnTemplatePropsMixin.TemplateVersionProperty.Builder errors(IResolvable errors) Sets the value ofCfnTemplatePropsMixin.TemplateVersionProperty.getErrors()- Parameters:
errors- Errors associated with this template version.- Returns:
this
-
errors
@Stability(Stable) public CfnTemplatePropsMixin.TemplateVersionProperty.Builder errors(List<? extends Object> errors) Sets the value ofCfnTemplatePropsMixin.TemplateVersionProperty.getErrors()- Parameters:
errors- Errors associated with this template version.- Returns:
this
-
sheets
@Stability(Stable) public CfnTemplatePropsMixin.TemplateVersionProperty.Builder sheets(IResolvable sheets) Sets the value ofCfnTemplatePropsMixin.TemplateVersionProperty.getSheets()- Parameters:
sheets- A list of the associated sheets with the unique identifier and name of each sheet.- Returns:
this
-
sheets
@Stability(Stable) public CfnTemplatePropsMixin.TemplateVersionProperty.Builder sheets(List<? extends Object> sheets) Sets the value ofCfnTemplatePropsMixin.TemplateVersionProperty.getSheets()- Parameters:
sheets- A list of the associated sheets with the unique identifier and name of each sheet.- Returns:
this
-
sourceEntityArn
@Stability(Stable) public CfnTemplatePropsMixin.TemplateVersionProperty.Builder sourceEntityArn(String sourceEntityArn) Sets the value ofCfnTemplatePropsMixin.TemplateVersionProperty.getSourceEntityArn()- Parameters:
sourceEntityArn- The Amazon Resource Name (ARN) of an analysis or template that was used to create this template.- Returns:
this
-
status
@Stability(Stable) public CfnTemplatePropsMixin.TemplateVersionProperty.Builder status(String status) Sets the value ofCfnTemplatePropsMixin.TemplateVersionProperty.getStatus()- Parameters:
status- The status that is associated with the template.CREATION_IN_PROGRESSCREATION_SUCCESSFULCREATION_FAILEDUPDATE_IN_PROGRESSUPDATE_SUCCESSFULUPDATE_FAILEDDELETED
- Returns:
this
-
themeArn
@Stability(Stable) public CfnTemplatePropsMixin.TemplateVersionProperty.Builder themeArn(String themeArn) Sets the value ofCfnTemplatePropsMixin.TemplateVersionProperty.getThemeArn()- Parameters:
themeArn- The ARN of the theme associated with this version of the template.- Returns:
this
-
versionNumber
@Stability(Stable) public CfnTemplatePropsMixin.TemplateVersionProperty.Builder versionNumber(Number versionNumber) Sets the value ofCfnTemplatePropsMixin.TemplateVersionProperty.getVersionNumber()- Parameters:
versionNumber- The version number of the template version.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTemplatePropsMixin.TemplateVersionProperty>- Returns:
- a new instance of
CfnTemplatePropsMixin.TemplateVersionProperty - Throws:
NullPointerException- if any required attribute was not provided
-