Class CfnDashboardMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.quicksight.CfnDashboardMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDashboardMixinProps>
- Enclosing interface:
CfnDashboardMixinProps
@Stability(Stable)
public static final class CfnDashboardMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDashboardMixinProps>
A builder for
CfnDashboardMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionawsAccountId(String awsAccountId) Sets the value ofCfnDashboardMixinProps.getAwsAccountId()build()Builds the configured instance.dashboardId(String dashboardId) Sets the value ofCfnDashboardMixinProps.getDashboardId()dashboardPublishOptions(CfnDashboardPropsMixin.DashboardPublishOptionsProperty dashboardPublishOptions) Sets the value ofCfnDashboardMixinProps.getDashboardPublishOptions()dashboardPublishOptions(IResolvable dashboardPublishOptions) Sets the value ofCfnDashboardMixinProps.getDashboardPublishOptions()Sets the value ofCfnDashboardMixinProps.getDefinition()definition(IResolvable definition) Sets the value ofCfnDashboardMixinProps.getDefinition()folderArns(List<String> folderArns) Sets the value ofCfnDashboardMixinProps.getFolderArns()linkEntities(List<String> linkEntities) Sets the value ofCfnDashboardMixinProps.getLinkEntities()linkSharingConfiguration(CfnDashboardPropsMixin.LinkSharingConfigurationProperty linkSharingConfiguration) Sets the value ofCfnDashboardMixinProps.getLinkSharingConfiguration()linkSharingConfiguration(IResolvable linkSharingConfiguration) Sets the value ofCfnDashboardMixinProps.getLinkSharingConfiguration()Sets the value ofCfnDashboardMixinProps.getName()parameters(CfnDashboardPropsMixin.ParametersProperty parameters) Sets the value ofCfnDashboardMixinProps.getParameters()parameters(IResolvable parameters) Sets the value ofCfnDashboardMixinProps.getParameters()permissions(List<? extends Object> permissions) Sets the value ofCfnDashboardMixinProps.getPermissions()permissions(IResolvable permissions) Sets the value ofCfnDashboardMixinProps.getPermissions()Sets the value ofCfnDashboardMixinProps.getSourceEntity()sourceEntity(IResolvable sourceEntity) Sets the value ofCfnDashboardMixinProps.getSourceEntity()Sets the value ofCfnDashboardMixinProps.getTags()Sets the value ofCfnDashboardMixinProps.getThemeArn()Sets the value ofCfnDashboardMixinProps.getThemeArn()validationStrategy(CfnDashboardPropsMixin.ValidationStrategyProperty validationStrategy) Sets the value ofCfnDashboardMixinProps.getValidationStrategy()validationStrategy(IResolvable validationStrategy) Sets the value ofCfnDashboardMixinProps.getValidationStrategy()versionDescription(String versionDescription) Sets the value ofCfnDashboardMixinProps.getVersionDescription()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
awsAccountId
Sets the value ofCfnDashboardMixinProps.getAwsAccountId()- Parameters:
awsAccountId- The ID of the AWS account where you want to create the dashboard.- Returns:
this
-
dashboardId
Sets the value ofCfnDashboardMixinProps.getDashboardId()- Parameters:
dashboardId- The ID for the dashboard, also added to the IAM policy.- Returns:
this
-
dashboardPublishOptions
@Stability(Stable) public CfnDashboardMixinProps.Builder dashboardPublishOptions(IResolvable dashboardPublishOptions) Sets the value ofCfnDashboardMixinProps.getDashboardPublishOptions()- Parameters:
dashboardPublishOptions- Options for publishing the dashboard when you create it:.AvailabilityStatusforAdHocFilteringOption- This status can be eitherENABLEDorDISABLED. When this is set toDISABLED, Amazon Quick Sight disables the left filter pane on the published dashboard, which can be used for ad hoc (one-time) filtering. This option isENABLEDby default.AvailabilityStatusforExportToCSVOption- This status can be eitherENABLEDorDISABLED. The visual option to export data to .CSV format isn't enabled when this is set toDISABLED. This option isENABLEDby default.VisibilityStateforSheetControlsOption- This visibility state can be eitherCOLLAPSEDorEXPANDED. This option isCOLLAPSEDby default.AvailabilityStatusforQuickSuiteActionsOption- This status can be eitherENABLEDorDISABLED. Features related to Actions in Amazon Quick Suite on dashboards are disabled when this is set toDISABLED. This option isDISABLEDby default.AvailabilityStatusforExecutiveSummaryOption- This status can be eitherENABLEDorDISABLED. The option to build an executive summary is disabled when this is set toDISABLED. This option isENABLEDby default.AvailabilityStatusforDataStoriesSharingOption- This status can be eitherENABLEDorDISABLED. The option to share a data story is disabled when this is set toDISABLED. This option isENABLEDby default.
- Returns:
this
-
dashboardPublishOptions
@Stability(Stable) public CfnDashboardMixinProps.Builder dashboardPublishOptions(CfnDashboardPropsMixin.DashboardPublishOptionsProperty dashboardPublishOptions) Sets the value ofCfnDashboardMixinProps.getDashboardPublishOptions()- Parameters:
dashboardPublishOptions- Options for publishing the dashboard when you create it:.AvailabilityStatusforAdHocFilteringOption- This status can be eitherENABLEDorDISABLED. When this is set toDISABLED, Amazon Quick Sight disables the left filter pane on the published dashboard, which can be used for ad hoc (one-time) filtering. This option isENABLEDby default.AvailabilityStatusforExportToCSVOption- This status can be eitherENABLEDorDISABLED. The visual option to export data to .CSV format isn't enabled when this is set toDISABLED. This option isENABLEDby default.VisibilityStateforSheetControlsOption- This visibility state can be eitherCOLLAPSEDorEXPANDED. This option isCOLLAPSEDby default.AvailabilityStatusforQuickSuiteActionsOption- This status can be eitherENABLEDorDISABLED. Features related to Actions in Amazon Quick Suite on dashboards are disabled when this is set toDISABLED. This option isDISABLEDby default.AvailabilityStatusforExecutiveSummaryOption- This status can be eitherENABLEDorDISABLED. The option to build an executive summary is disabled when this is set toDISABLED. This option isENABLEDby default.AvailabilityStatusforDataStoriesSharingOption- This status can be eitherENABLEDorDISABLED. The option to share a data story is disabled when this is set toDISABLED. This option isENABLEDby default.
- Returns:
this
-
definition
Sets the value ofCfnDashboardMixinProps.getDefinition()- Parameters:
definition- the value to be set.- Returns:
this
-
definition
@Stability(Stable) public CfnDashboardMixinProps.Builder definition(CfnDashboardPropsMixin.DashboardVersionDefinitionProperty definition) Sets the value ofCfnDashboardMixinProps.getDefinition()- Parameters:
definition- the value to be set.- Returns:
this
-
folderArns
Sets the value ofCfnDashboardMixinProps.getFolderArns()- Parameters:
folderArns- the value to be set.- Returns:
this
-
linkEntities
Sets the value ofCfnDashboardMixinProps.getLinkEntities()- Parameters:
linkEntities- A list of analysis Amazon Resource Names (ARNs) to be linked to the dashboard.- Returns:
this
-
linkSharingConfiguration
@Stability(Stable) public CfnDashboardMixinProps.Builder linkSharingConfiguration(IResolvable linkSharingConfiguration) Sets the value ofCfnDashboardMixinProps.getLinkSharingConfiguration()- Parameters:
linkSharingConfiguration- A structure that contains the link sharing configurations that you want to apply overrides to.- Returns:
this
-
linkSharingConfiguration
@Stability(Stable) public CfnDashboardMixinProps.Builder linkSharingConfiguration(CfnDashboardPropsMixin.LinkSharingConfigurationProperty linkSharingConfiguration) Sets the value ofCfnDashboardMixinProps.getLinkSharingConfiguration()- Parameters:
linkSharingConfiguration- A structure that contains the link sharing configurations that you want to apply overrides to.- Returns:
this
-
name
Sets the value ofCfnDashboardMixinProps.getName()- Parameters:
name- The display name of the dashboard.- Returns:
this
-
parameters
Sets the value ofCfnDashboardMixinProps.getParameters()- Parameters:
parameters- The parameters for the creation of the dashboard, which you want to use to override the default settings. A dashboard can have any type of parameters, and some parameters might accept multiple values.- Returns:
this
-
parameters
@Stability(Stable) public CfnDashboardMixinProps.Builder parameters(CfnDashboardPropsMixin.ParametersProperty parameters) Sets the value ofCfnDashboardMixinProps.getParameters()- Parameters:
parameters- The parameters for the creation of the dashboard, which you want to use to override the default settings. A dashboard can have any type of parameters, and some parameters might accept multiple values.- Returns:
this
-
permissions
Sets the value ofCfnDashboardMixinProps.getPermissions()- Parameters:
permissions- A structure that contains the permissions of the dashboard. You can use this structure for granting permissions by providing a list of IAM action information for each principal ARN.To specify no permissions, omit the permissions list.
- Returns:
this
-
permissions
@Stability(Stable) public CfnDashboardMixinProps.Builder permissions(List<? extends Object> permissions) Sets the value ofCfnDashboardMixinProps.getPermissions()- Parameters:
permissions- A structure that contains the permissions of the dashboard. You can use this structure for granting permissions by providing a list of IAM action information for each principal ARN.To specify no permissions, omit the permissions list.
- Returns:
this
-
sourceEntity
Sets the value ofCfnDashboardMixinProps.getSourceEntity()- Parameters:
sourceEntity- The entity that you are using as a source when you create the dashboard. InSourceEntity, you specify the type of object that you want to use. You can only create a dashboard from a template, so you use aSourceTemplateentity. If you need to create a dashboard from an analysis, first convert the analysis to a template by using theCreateTemplateAPI operation. ForSourceTemplate, specify the Amazon Resource Name (ARN) of the source template. TheSourceTemplateARN can contain any AWS account; and any QuickSight-supported AWS Region .Use the
DataSetReferencesentity withinSourceTemplateto list the replacement datasets for the placeholders listed in the original. The schema in each dataset must match its placeholder.- Returns:
this
-
sourceEntity
@Stability(Stable) public CfnDashboardMixinProps.Builder sourceEntity(CfnDashboardPropsMixin.DashboardSourceEntityProperty sourceEntity) Sets the value ofCfnDashboardMixinProps.getSourceEntity()- Parameters:
sourceEntity- The entity that you are using as a source when you create the dashboard. InSourceEntity, you specify the type of object that you want to use. You can only create a dashboard from a template, so you use aSourceTemplateentity. If you need to create a dashboard from an analysis, first convert the analysis to a template by using theCreateTemplateAPI operation. ForSourceTemplate, specify the Amazon Resource Name (ARN) of the source template. TheSourceTemplateARN can contain any AWS account; and any QuickSight-supported AWS Region .Use the
DataSetReferencesentity withinSourceTemplateto list the replacement datasets for the placeholders listed in the original. The schema in each dataset must match its placeholder.- Returns:
this
-
tags
Sets the value ofCfnDashboardMixinProps.getTags()- Parameters:
tags- Contains a map of the key-value pairs for the resource tag or tags assigned to the dashboard.- Returns:
this
-
themeArn
Sets the value ofCfnDashboardMixinProps.getThemeArn()- Parameters:
themeArn- The Amazon Resource Name (ARN) of the theme that is being used for this dashboard. If you add a value for this field, it overrides the value that is used in the source entity. The theme ARN must exist in the same AWS account where you create the dashboard.- Returns:
this
-
themeArn
Sets the value ofCfnDashboardMixinProps.getThemeArn()- Parameters:
themeArn- The Amazon Resource Name (ARN) of the theme that is being used for this dashboard. If you add a value for this field, it overrides the value that is used in the source entity. The theme ARN must exist in the same AWS account where you create the dashboard.- Returns:
this
-
validationStrategy
@Stability(Stable) public CfnDashboardMixinProps.Builder validationStrategy(IResolvable validationStrategy) Sets the value ofCfnDashboardMixinProps.getValidationStrategy()- Parameters:
validationStrategy- The option to relax the validation that is required to create and update analyses, dashboards, and templates with definition objects. When you set this value toLENIENT, validation is skipped for specific errors.- Returns:
this
-
validationStrategy
@Stability(Stable) public CfnDashboardMixinProps.Builder validationStrategy(CfnDashboardPropsMixin.ValidationStrategyProperty validationStrategy) Sets the value ofCfnDashboardMixinProps.getValidationStrategy()- Parameters:
validationStrategy- The option to relax the validation that is required to create and update analyses, dashboards, and templates with definition objects. When you set this value toLENIENT, validation is skipped for specific errors.- Returns:
this
-
versionDescription
@Stability(Stable) public CfnDashboardMixinProps.Builder versionDescription(String versionDescription) Sets the value ofCfnDashboardMixinProps.getVersionDescription()- Parameters:
versionDescription- A description for the first version of the dashboard being created.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDashboardMixinProps>- Returns:
- a new instance of
CfnDashboardMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-