public static final class CfnDashboardProps.Builder
extends java.lang.Object
CfnDashboardProps
Constructor and Description |
---|
Builder() |
public CfnDashboardProps.Builder awsAccountId(java.lang.String awsAccountId)
CfnDashboardProps.getAwsAccountId()
awsAccountId
- The ID of the AWS account where you want to create the dashboard. This parameter is required.this
public CfnDashboardProps.Builder dashboardId(java.lang.String dashboardId)
CfnDashboardProps.getDashboardId()
dashboardId
- The ID for the dashboard, also added to the IAM policy. This parameter is required.this
public CfnDashboardProps.Builder sourceEntity(IResolvable sourceEntity)
CfnDashboardProps.getSourceEntity()
sourceEntity
- The entity that you are using as a source when you create the dashboard. This parameter is required.
In SourceEntity
, you specify the type of object that you want to use. You can only create a dashboard from a template, so you use a SourceTemplate
entity. If you need to create a dashboard from an analysis, first convert the analysis to a template by using the CreateTemplate
API operation. For SourceTemplate
, specify the Amazon Resource Name (ARN) of the source template. The SourceTemplate
ARN can contain any AWS account; and any QuickSight-supported AWS Region .
Use the DataSetReferences
entity within SourceTemplate
to list the replacement datasets for the placeholders listed in the original. The schema in each dataset must match its placeholder.
this
public CfnDashboardProps.Builder sourceEntity(CfnDashboard.DashboardSourceEntityProperty sourceEntity)
CfnDashboardProps.getSourceEntity()
sourceEntity
- The entity that you are using as a source when you create the dashboard. This parameter is required.
In SourceEntity
, you specify the type of object that you want to use. You can only create a dashboard from a template, so you use a SourceTemplate
entity. If you need to create a dashboard from an analysis, first convert the analysis to a template by using the CreateTemplate
API operation. For SourceTemplate
, specify the Amazon Resource Name (ARN) of the source template. The SourceTemplate
ARN can contain any AWS account; and any QuickSight-supported AWS Region .
Use the DataSetReferences
entity within SourceTemplate
to list the replacement datasets for the placeholders listed in the original. The schema in each dataset must match its placeholder.
this
public CfnDashboardProps.Builder dashboardPublishOptions(IResolvable dashboardPublishOptions)
CfnDashboardProps.getDashboardPublishOptions()
dashboardPublishOptions
- Options for publishing the dashboard when you create it:.
AvailabilityStatus
for AdHocFilteringOption
- This status can be either ENABLED
or DISABLED
. When this is set to DISABLED
, Amazon QuickSight disables the left filter pane on the published dashboard, which can be used for ad hoc (one-time) filtering. This option is ENABLED
by default.AvailabilityStatus
for ExportToCSVOption
- This status can be either ENABLED
or DISABLED
. The visual option to export data to .CSV format isn't enabled when this is set to DISABLED
. This option is ENABLED
by default.VisibilityState
for SheetControlsOption
- This visibility state can be either COLLAPSED
or EXPANDED
. This option is COLLAPSED
by default.this
public CfnDashboardProps.Builder dashboardPublishOptions(CfnDashboard.DashboardPublishOptionsProperty dashboardPublishOptions)
CfnDashboardProps.getDashboardPublishOptions()
dashboardPublishOptions
- Options for publishing the dashboard when you create it:.
AvailabilityStatus
for AdHocFilteringOption
- This status can be either ENABLED
or DISABLED
. When this is set to DISABLED
, Amazon QuickSight disables the left filter pane on the published dashboard, which can be used for ad hoc (one-time) filtering. This option is ENABLED
by default.AvailabilityStatus
for ExportToCSVOption
- This status can be either ENABLED
or DISABLED
. The visual option to export data to .CSV format isn't enabled when this is set to DISABLED
. This option is ENABLED
by default.VisibilityState
for SheetControlsOption
- This visibility state can be either COLLAPSED
or EXPANDED
. This option is COLLAPSED
by default.this
public CfnDashboardProps.Builder name(java.lang.String name)
CfnDashboardProps.getName()
name
- The display name of the dashboard.this
public CfnDashboardProps.Builder parameters(IResolvable parameters)
CfnDashboardProps.getParameters()
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.this
public CfnDashboardProps.Builder parameters(CfnDashboard.ParametersProperty parameters)
CfnDashboardProps.getParameters()
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.this
public CfnDashboardProps.Builder permissions(IResolvable permissions)
CfnDashboardProps.getPermissions()
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.
this
public CfnDashboardProps.Builder permissions(java.util.List<? extends java.lang.Object> permissions)
CfnDashboardProps.getPermissions()
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.
this
public CfnDashboardProps.Builder tags(java.util.List<? extends CfnTag> tags)
CfnDashboardProps.getTags()
tags
- Contains a map of the key-value pairs for the resource tag or tags assigned to the dashboard.this
public CfnDashboardProps.Builder themeArn(java.lang.String themeArn)
CfnDashboardProps.getThemeArn()
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.this
public CfnDashboardProps.Builder versionDescription(java.lang.String versionDescription)
CfnDashboardProps.getVersionDescription()
versionDescription
- A description for the first version of the dashboard being created.this
public CfnDashboardProps build()
CfnDashboardProps
java.lang.NullPointerException
- if any required attribute was not provided