Class CfnTemplate.TemplateVersionProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnTemplate.TemplateVersionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTemplate.TemplateVersionProperty>
- Enclosing interface:
CfnTemplate.TemplateVersionProperty
@Stability(Stable)
public static final class CfnTemplate.TemplateVersionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTemplate.TemplateVersionProperty>
A builder for
CfnTemplate.TemplateVersionProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.createdTime
(String createdTime) Sets the value ofCfnTemplate.TemplateVersionProperty.getCreatedTime()
dataSetConfigurations
(List<? extends Object> dataSetConfigurations) Sets the value ofCfnTemplate.TemplateVersionProperty.getDataSetConfigurations()
dataSetConfigurations
(IResolvable dataSetConfigurations) Sets the value ofCfnTemplate.TemplateVersionProperty.getDataSetConfigurations()
description
(String description) Sets the value ofCfnTemplate.TemplateVersionProperty.getDescription()
Sets the value ofCfnTemplate.TemplateVersionProperty.getErrors()
errors
(IResolvable errors) Sets the value ofCfnTemplate.TemplateVersionProperty.getErrors()
Sets the value ofCfnTemplate.TemplateVersionProperty.getSheets()
sheets
(IResolvable sheets) Sets the value ofCfnTemplate.TemplateVersionProperty.getSheets()
sourceEntityArn
(String sourceEntityArn) Sets the value ofCfnTemplate.TemplateVersionProperty.getSourceEntityArn()
Sets the value ofCfnTemplate.TemplateVersionProperty.getStatus()
Sets the value ofCfnTemplate.TemplateVersionProperty.getThemeArn()
versionNumber
(Number versionNumber) Sets the value ofCfnTemplate.TemplateVersionProperty.getVersionNumber()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
createdTime
@Stability(Stable) public CfnTemplate.TemplateVersionProperty.Builder createdTime(String createdTime) Sets the value ofCfnTemplate.TemplateVersionProperty.getCreatedTime()
- Parameters:
createdTime
- The time that this template version was created.- Returns:
this
-
dataSetConfigurations
@Stability(Stable) public CfnTemplate.TemplateVersionProperty.Builder dataSetConfigurations(IResolvable dataSetConfigurations) Sets the value ofCfnTemplate.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 CfnTemplate.TemplateVersionProperty.Builder dataSetConfigurations(List<? extends Object> dataSetConfigurations) Sets the value ofCfnTemplate.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 CfnTemplate.TemplateVersionProperty.Builder description(String description) Sets the value ofCfnTemplate.TemplateVersionProperty.getDescription()
- Parameters:
description
- The description of the template.- Returns:
this
-
errors
Sets the value ofCfnTemplate.TemplateVersionProperty.getErrors()
- Parameters:
errors
- Errors associated with this template version.- Returns:
this
-
errors
@Stability(Stable) public CfnTemplate.TemplateVersionProperty.Builder errors(List<? extends Object> errors) Sets the value ofCfnTemplate.TemplateVersionProperty.getErrors()
- Parameters:
errors
- Errors associated with this template version.- Returns:
this
-
sheets
Sets the value ofCfnTemplate.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 CfnTemplate.TemplateVersionProperty.Builder sheets(List<? extends Object> sheets) Sets the value ofCfnTemplate.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 CfnTemplate.TemplateVersionProperty.Builder sourceEntityArn(String sourceEntityArn) Sets the value ofCfnTemplate.TemplateVersionProperty.getSourceEntityArn()
- Parameters:
sourceEntityArn
- The Amazon Resource Name (ARN) of an analysis or template that was used to create this template.- Returns:
this
-
status
Sets the value ofCfnTemplate.TemplateVersionProperty.getStatus()
- Parameters:
status
- The status that is associated with the template.CREATION_IN_PROGRESS
CREATION_SUCCESSFUL
CREATION_FAILED
UPDATE_IN_PROGRESS
UPDATE_SUCCESSFUL
UPDATE_FAILED
DELETED
- Returns:
this
-
themeArn
Sets the value ofCfnTemplate.TemplateVersionProperty.getThemeArn()
- Parameters:
themeArn
- The ARN of the theme associated with this version of the template.- Returns:
this
-
versionNumber
@Stability(Stable) public CfnTemplate.TemplateVersionProperty.Builder versionNumber(Number versionNumber) Sets the value ofCfnTemplate.TemplateVersionProperty.getVersionNumber()
- Parameters:
versionNumber
- The version number of the template version.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnTemplate.TemplateVersionProperty>
- Returns:
- a new instance of
CfnTemplate.TemplateVersionProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-