Class CfnDashboard.DashboardVersionProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnDashboard.DashboardVersionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDashboard.DashboardVersionProperty>
- Enclosing interface:
CfnDashboard.DashboardVersionProperty
@Stability(Stable)
public static final class CfnDashboard.DashboardVersionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDashboard.DashboardVersionProperty>
A builder for
CfnDashboard.DashboardVersionProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnDashboard.DashboardVersionProperty.getArn()
build()
Builds the configured instance.createdTime
(String createdTime) Sets the value ofCfnDashboard.DashboardVersionProperty.getCreatedTime()
dataSetArns
(List<String> dataSetArns) Sets the value ofCfnDashboard.DashboardVersionProperty.getDataSetArns()
description
(String description) Sets the value ofCfnDashboard.DashboardVersionProperty.getDescription()
Sets the value ofCfnDashboard.DashboardVersionProperty.getErrors()
errors
(IResolvable errors) Sets the value ofCfnDashboard.DashboardVersionProperty.getErrors()
Sets the value ofCfnDashboard.DashboardVersionProperty.getSheets()
sheets
(IResolvable sheets) Sets the value ofCfnDashboard.DashboardVersionProperty.getSheets()
sourceEntityArn
(String sourceEntityArn) Sets the value ofCfnDashboard.DashboardVersionProperty.getSourceEntityArn()
Sets the value ofCfnDashboard.DashboardVersionProperty.getStatus()
Sets the value ofCfnDashboard.DashboardVersionProperty.getThemeArn()
versionNumber
(Number versionNumber) Sets the value ofCfnDashboard.DashboardVersionProperty.getVersionNumber()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
arn
Sets the value ofCfnDashboard.DashboardVersionProperty.getArn()
- Parameters:
arn
- The Amazon Resource Name (ARN) of the resource.- Returns:
this
-
createdTime
@Stability(Stable) public CfnDashboard.DashboardVersionProperty.Builder createdTime(String createdTime) Sets the value ofCfnDashboard.DashboardVersionProperty.getCreatedTime()
- Parameters:
createdTime
- The time that this dashboard version was created.- Returns:
this
-
dataSetArns
@Stability(Stable) public CfnDashboard.DashboardVersionProperty.Builder dataSetArns(List<String> dataSetArns) Sets the value ofCfnDashboard.DashboardVersionProperty.getDataSetArns()
- Parameters:
dataSetArns
- The Amazon Resource Numbers (ARNs) for the datasets that are associated with this version of the dashboard.- Returns:
this
-
description
@Stability(Stable) public CfnDashboard.DashboardVersionProperty.Builder description(String description) Sets the value ofCfnDashboard.DashboardVersionProperty.getDescription()
- Parameters:
description
- Description.- Returns:
this
-
errors
Sets the value ofCfnDashboard.DashboardVersionProperty.getErrors()
- Parameters:
errors
- Errors associated with this dashboard version.- Returns:
this
-
errors
@Stability(Stable) public CfnDashboard.DashboardVersionProperty.Builder errors(List<? extends Object> errors) Sets the value ofCfnDashboard.DashboardVersionProperty.getErrors()
- Parameters:
errors
- Errors associated with this dashboard version.- Returns:
this
-
sheets
Sets the value ofCfnDashboard.DashboardVersionProperty.getSheets()
- Parameters:
sheets
- A list of the associated sheets with the unique identifier and name of each sheet.- Returns:
this
-
sheets
@Stability(Stable) public CfnDashboard.DashboardVersionProperty.Builder sheets(List<? extends Object> sheets) Sets the value ofCfnDashboard.DashboardVersionProperty.getSheets()
- Parameters:
sheets
- A list of the associated sheets with the unique identifier and name of each sheet.- Returns:
this
-
sourceEntityArn
@Stability(Stable) public CfnDashboard.DashboardVersionProperty.Builder sourceEntityArn(String sourceEntityArn) Sets the value ofCfnDashboard.DashboardVersionProperty.getSourceEntityArn()
- Parameters:
sourceEntityArn
- Source entity ARN.- Returns:
this
-
status
Sets the value ofCfnDashboard.DashboardVersionProperty.getStatus()
- Parameters:
status
- The HTTP status of the request.- Returns:
this
-
themeArn
Sets the value ofCfnDashboard.DashboardVersionProperty.getThemeArn()
- Parameters:
themeArn
- The ARN of the theme associated with a version of the dashboard.- Returns:
this
-
versionNumber
@Stability(Stable) public CfnDashboard.DashboardVersionProperty.Builder versionNumber(Number versionNumber) Sets the value ofCfnDashboard.DashboardVersionProperty.getVersionNumber()
- Parameters:
versionNumber
- Version number for this version of the dashboard.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnDashboard.DashboardVersionProperty>
- Returns:
- a new instance of
CfnDashboard.DashboardVersionProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-