Interface CreateDashboardRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateDashboardRequest.Builder,CreateDashboardRequest>,QuickSightRequest.Builder,SdkBuilder<CreateDashboardRequest.Builder,CreateDashboardRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateDashboardRequest
public static interface CreateDashboardRequest.Builder extends QuickSightRequest.Builder, SdkPojo, CopyableBuilder<CreateDashboardRequest.Builder,CreateDashboardRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CreateDashboardRequest.BuilderawsAccountId(String awsAccountId)The ID of the Amazon Web Services account where you want to create the dashboard.CreateDashboardRequest.BuilderdashboardId(String dashboardId)The ID for the dashboard, also added to the IAM policy.default CreateDashboardRequest.BuilderdashboardPublishOptions(Consumer<DashboardPublishOptions.Builder> dashboardPublishOptions)Options for publishing the dashboard when you create it:CreateDashboardRequest.BuilderdashboardPublishOptions(DashboardPublishOptions dashboardPublishOptions)Options for publishing the dashboard when you create it:default CreateDashboardRequest.Builderdefinition(Consumer<DashboardVersionDefinition.Builder> definition)The definition of a dashboard.CreateDashboardRequest.Builderdefinition(DashboardVersionDefinition definition)The definition of a dashboard.CreateDashboardRequest.BuilderfolderArns(String... folderArns)When you create the dashboard, Amazon QuickSight adds the dashboard to these folders.CreateDashboardRequest.BuilderfolderArns(Collection<String> folderArns)When you create the dashboard, Amazon QuickSight adds the dashboard to these folders.CreateDashboardRequest.BuilderlinkEntities(String... linkEntities)A list of analysis Amazon Resource Names (ARNs) to be linked to the dashboard.CreateDashboardRequest.BuilderlinkEntities(Collection<String> linkEntities)A list of analysis Amazon Resource Names (ARNs) to be linked to the dashboard.default CreateDashboardRequest.BuilderlinkSharingConfiguration(Consumer<LinkSharingConfiguration.Builder> linkSharingConfiguration)A structure that contains the permissions of a shareable link to the dashboard.CreateDashboardRequest.BuilderlinkSharingConfiguration(LinkSharingConfiguration linkSharingConfiguration)A structure that contains the permissions of a shareable link to the dashboard.CreateDashboardRequest.Buildername(String name)The display name of the dashboard.CreateDashboardRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateDashboardRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)default CreateDashboardRequest.Builderparameters(Consumer<Parameters.Builder> parameters)The parameters for the creation of the dashboard, which you want to use to override the default settings.CreateDashboardRequest.Builderparameters(Parameters parameters)The parameters for the creation of the dashboard, which you want to use to override the default settings.CreateDashboardRequest.Builderpermissions(Collection<ResourcePermission> permissions)A structure that contains the permissions of the dashboard.CreateDashboardRequest.Builderpermissions(Consumer<ResourcePermission.Builder>... permissions)A structure that contains the permissions of the dashboard.CreateDashboardRequest.Builderpermissions(ResourcePermission... permissions)A structure that contains the permissions of the dashboard.default CreateDashboardRequest.BuildersourceEntity(Consumer<DashboardSourceEntity.Builder> sourceEntity)The entity that you are using as a source when you create the dashboard.CreateDashboardRequest.BuildersourceEntity(DashboardSourceEntity sourceEntity)The entity that you are using as a source when you create the dashboard.CreateDashboardRequest.Buildertags(Collection<Tag> tags)Contains a map of the key-value pairs for the resource tag or tags assigned to the dashboard.CreateDashboardRequest.Buildertags(Consumer<Tag.Builder>... tags)Contains a map of the key-value pairs for the resource tag or tags assigned to the dashboard.CreateDashboardRequest.Buildertags(Tag... tags)Contains a map of the key-value pairs for the resource tag or tags assigned to the dashboard.CreateDashboardRequest.BuilderthemeArn(String themeArn)The Amazon Resource Name (ARN) of the theme that is being used for this dashboard.default CreateDashboardRequest.BuildervalidationStrategy(Consumer<ValidationStrategy.Builder> validationStrategy)The option to relax the validation needed to create a dashboard with definition objects.CreateDashboardRequest.BuildervalidationStrategy(ValidationStrategy validationStrategy)The option to relax the validation needed to create a dashboard with definition objects.CreateDashboardRequest.BuilderversionDescription(String versionDescription)A description for the first version of the dashboard being created.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.quicksight.model.QuickSightRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
awsAccountId
CreateDashboardRequest.Builder awsAccountId(String awsAccountId)
The ID of the Amazon Web Services account where you want to create the dashboard.
- Parameters:
awsAccountId- The ID of the Amazon Web Services account where you want to create the dashboard.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dashboardId
CreateDashboardRequest.Builder dashboardId(String dashboardId)
The ID for the dashboard, also added to the IAM policy.
- Parameters:
dashboardId- The ID for the dashboard, also added to the IAM policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
CreateDashboardRequest.Builder name(String name)
The display name of the dashboard.
- Parameters:
name- The display name of the dashboard.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parameters
CreateDashboardRequest.Builder parameters(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.
- 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:
- Returns a reference to this object so that method calls can be chained together.
-
parameters
default CreateDashboardRequest.Builder parameters(Consumer<Parameters.Builder> 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 is a convenience method that creates an instance of theParameters.Builderavoiding the need to create one manually viaParameters.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toparameters(Parameters).- Parameters:
parameters- a consumer that will call methods onParameters.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
parameters(Parameters)
-
permissions
CreateDashboardRequest.Builder permissions(Collection<ResourcePermission> 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.
- 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:
- Returns a reference to this object so that method calls can be chained together.
-
permissions
CreateDashboardRequest.Builder permissions(ResourcePermission... 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.
- 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:
- Returns a reference to this object so that method calls can be chained together.
-
permissions
CreateDashboardRequest.Builder permissions(Consumer<ResourcePermission.Builder>... 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 is a convenience method that creates an instance of theResourcePermission.Builderavoiding the need to create one manually viaResourcePermission.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#permissions(List.) - Parameters:
permissions- a consumer that will call methods onResourcePermission.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#permissions(java.util.Collection)
-
sourceEntity
CreateDashboardRequest.Builder sourceEntity(DashboardSourceEntity sourceEntity)
The entity that you are using as a source when you create the dashboard. In
SourceEntity, you specify the type of object you're using as source. 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 Amazon Web Services account and any Amazon QuickSight-supported Amazon Web Services 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.Either a
SourceEntityor aDefinitionmust be provided in order for the request to be valid.- Parameters:
sourceEntity- The entity that you are using as a source when you create the dashboard. InSourceEntity, you specify the type of object you're using as source. 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 Amazon Web Services account and any Amazon QuickSight-supported Amazon Web Services 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.Either a
SourceEntityor aDefinitionmust be provided in order for the request to be valid.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceEntity
default CreateDashboardRequest.Builder sourceEntity(Consumer<DashboardSourceEntity.Builder> sourceEntity)
The entity that you are using as a source when you create the dashboard. In
SourceEntity, you specify the type of object you're using as source. 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 Amazon Web Services account and any Amazon QuickSight-supported Amazon Web Services 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.Either a
This is a convenience method that creates an instance of theSourceEntityor aDefinitionmust be provided in order for the request to be valid.DashboardSourceEntity.Builderavoiding the need to create one manually viaDashboardSourceEntity.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosourceEntity(DashboardSourceEntity).- Parameters:
sourceEntity- a consumer that will call methods onDashboardSourceEntity.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
sourceEntity(DashboardSourceEntity)
-
tags
CreateDashboardRequest.Builder tags(Collection<Tag> tags)
Contains a map of the key-value pairs for the resource tag or tags assigned to the dashboard.
- Parameters:
tags- Contains a map of the key-value pairs for the resource tag or tags assigned to the dashboard.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CreateDashboardRequest.Builder tags(Tag... tags)
Contains a map of the key-value pairs for the resource tag or tags assigned to the dashboard.
- Parameters:
tags- Contains a map of the key-value pairs for the resource tag or tags assigned to the dashboard.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CreateDashboardRequest.Builder tags(Consumer<Tag.Builder>... tags)
Contains a map of the key-value pairs for the resource tag or tags assigned to the dashboard.
This is a convenience method that creates an instance of theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#tags(List.) - Parameters:
tags- a consumer that will call methods onTag.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#tags(java.util.Collection)
-
versionDescription
CreateDashboardRequest.Builder versionDescription(String versionDescription)
A description for the first version of the dashboard being created.
- Parameters:
versionDescription- A description for the first version of the dashboard being created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dashboardPublishOptions
CreateDashboardRequest.Builder dashboardPublishOptions(DashboardPublishOptions dashboardPublishOptions)
Options for publishing the dashboard when you create it:
-
AvailabilityStatusforAdHocFilteringOption- This status can be eitherENABLEDorDISABLED. When this is set toDISABLED, Amazon QuickSight 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.
- Parameters:
dashboardPublishOptions- Options for publishing the dashboard when you create it:-
AvailabilityStatusforAdHocFilteringOption- This status can be eitherENABLEDorDISABLED. When this is set toDISABLED, Amazon QuickSight 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.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
dashboardPublishOptions
default CreateDashboardRequest.Builder dashboardPublishOptions(Consumer<DashboardPublishOptions.Builder> dashboardPublishOptions)
Options for publishing the dashboard when you create it:
-
AvailabilityStatusforAdHocFilteringOption- This status can be eitherENABLEDorDISABLED. When this is set toDISABLED, Amazon QuickSight 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.
DashboardPublishOptions.Builderavoiding the need to create one manually viaDashboardPublishOptions.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todashboardPublishOptions(DashboardPublishOptions).- Parameters:
dashboardPublishOptions- a consumer that will call methods onDashboardPublishOptions.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
dashboardPublishOptions(DashboardPublishOptions)
-
-
themeArn
CreateDashboardRequest.Builder themeArn(String 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 Amazon Web Services account where you create the dashboard.
- 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 Amazon Web Services account where you create the dashboard.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
definition
CreateDashboardRequest.Builder definition(DashboardVersionDefinition definition)
The definition of a dashboard.
A definition is the data model of all features in a Dashboard, Template, or Analysis.
Either a
SourceEntityor aDefinitionmust be provided in order for the request to be valid.- Parameters:
definition- The definition of a dashboard.A definition is the data model of all features in a Dashboard, Template, or Analysis.
Either a
SourceEntityor aDefinitionmust be provided in order for the request to be valid.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
definition
default CreateDashboardRequest.Builder definition(Consumer<DashboardVersionDefinition.Builder> definition)
The definition of a dashboard.
A definition is the data model of all features in a Dashboard, Template, or Analysis.
Either a
This is a convenience method that creates an instance of theSourceEntityor aDefinitionmust be provided in order for the request to be valid.DashboardVersionDefinition.Builderavoiding the need to create one manually viaDashboardVersionDefinition.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todefinition(DashboardVersionDefinition).- Parameters:
definition- a consumer that will call methods onDashboardVersionDefinition.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
definition(DashboardVersionDefinition)
-
validationStrategy
CreateDashboardRequest.Builder validationStrategy(ValidationStrategy validationStrategy)
The option to relax the validation needed to create a dashboard with definition objects. This option skips the validation step for specific errors.
- Parameters:
validationStrategy- The option to relax the validation needed to create a dashboard with definition objects. This option skips the validation step for specific errors.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
validationStrategy
default CreateDashboardRequest.Builder validationStrategy(Consumer<ValidationStrategy.Builder> validationStrategy)
The option to relax the validation needed to create a dashboard with definition objects. This option skips the validation step for specific errors.
This is a convenience method that creates an instance of theValidationStrategy.Builderavoiding the need to create one manually viaValidationStrategy.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tovalidationStrategy(ValidationStrategy).- Parameters:
validationStrategy- a consumer that will call methods onValidationStrategy.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
validationStrategy(ValidationStrategy)
-
folderArns
CreateDashboardRequest.Builder folderArns(Collection<String> folderArns)
When you create the dashboard, Amazon QuickSight adds the dashboard to these folders.
- Parameters:
folderArns- When you create the dashboard, Amazon QuickSight adds the dashboard to these folders.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
folderArns
CreateDashboardRequest.Builder folderArns(String... folderArns)
When you create the dashboard, Amazon QuickSight adds the dashboard to these folders.
- Parameters:
folderArns- When you create the dashboard, Amazon QuickSight adds the dashboard to these folders.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
linkSharingConfiguration
CreateDashboardRequest.Builder linkSharingConfiguration(LinkSharingConfiguration linkSharingConfiguration)
A structure that contains the permissions of a shareable link to the dashboard.
- Parameters:
linkSharingConfiguration- A structure that contains the permissions of a shareable link to the dashboard.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
linkSharingConfiguration
default CreateDashboardRequest.Builder linkSharingConfiguration(Consumer<LinkSharingConfiguration.Builder> linkSharingConfiguration)
A structure that contains the permissions of a shareable link to the dashboard.
This is a convenience method that creates an instance of theLinkSharingConfiguration.Builderavoiding the need to create one manually viaLinkSharingConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tolinkSharingConfiguration(LinkSharingConfiguration).- Parameters:
linkSharingConfiguration- a consumer that will call methods onLinkSharingConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
linkSharingConfiguration(LinkSharingConfiguration)
-
linkEntities
CreateDashboardRequest.Builder linkEntities(Collection<String> linkEntities)
A list of analysis Amazon Resource Names (ARNs) to be linked to the dashboard.
- Parameters:
linkEntities- A list of analysis Amazon Resource Names (ARNs) to be linked to the dashboard.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
linkEntities
CreateDashboardRequest.Builder linkEntities(String... linkEntities)
A list of analysis Amazon Resource Names (ARNs) to be linked to the dashboard.
- Parameters:
linkEntities- A list of analysis Amazon Resource Names (ARNs) to be linked to the dashboard.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateDashboardRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateDashboardRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-