Interface UpdateDashboardRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateDashboardRequest.Builder,
,UpdateDashboardRequest> QuickSightRequest.Builder
,SdkBuilder<UpdateDashboardRequest.Builder,
,UpdateDashboardRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateDashboardRequest
-
Method Summary
Modifier and TypeMethodDescriptionawsAccountId
(String awsAccountId) The ID of the Amazon Web Services account that contains the dashboard that you're updating.dashboardId
(String dashboardId) The ID for the dashboard.default UpdateDashboardRequest.Builder
dashboardPublishOptions
(Consumer<DashboardPublishOptions.Builder> dashboardPublishOptions) Options for publishing the dashboard when you create it:dashboardPublishOptions
(DashboardPublishOptions dashboardPublishOptions) Options for publishing the dashboard when you create it:default UpdateDashboardRequest.Builder
definition
(Consumer<DashboardVersionDefinition.Builder> definition) The definition of a dashboard.definition
(DashboardVersionDefinition definition) The definition of a dashboard.The display name of the dashboard.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.default UpdateDashboardRequest.Builder
parameters
(Consumer<Parameters.Builder> parameters) A structure that contains the parameters of the dashboard.parameters
(Parameters parameters) A structure that contains the parameters of the dashboard.default UpdateDashboardRequest.Builder
sourceEntity
(Consumer<DashboardSourceEntity.Builder> sourceEntity) The entity that you are using as a source when you update the dashboard.sourceEntity
(DashboardSourceEntity sourceEntity) The entity that you are using as a source when you update the dashboard.The Amazon Resource Name (ARN) of the theme that is being used for this dashboard.default UpdateDashboardRequest.Builder
validationStrategy
(Consumer<ValidationStrategy.Builder> validationStrategy) The option to relax the validation needed to update a dashboard with definition objects.validationStrategy
(ValidationStrategy validationStrategy) The option to relax the validation needed to update a dashboard with definition objects.versionDescription
(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 Details
-
awsAccountId
The ID of the Amazon Web Services account that contains the dashboard that you're updating.
- Parameters:
awsAccountId
- The ID of the Amazon Web Services account that contains the dashboard that you're updating.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dashboardId
The ID for the dashboard.
- Parameters:
dashboardId
- The ID for the dashboard.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
-
sourceEntity
The entity that you are using as a source when you update the dashboard. In
SourceEntity
, you specify the type of object you're using as source. You can only update a dashboard from a template, so you use aSourceTemplate
entity. If you need to update a dashboard from an analysis, first convert the analysis to a template by using theCreateTemplate
API operation. ForSourceTemplate
, specify the Amazon Resource Name (ARN) of the source template. TheSourceTemplate
ARN can contain any Amazon Web Services account and any Amazon QuickSight-supported Amazon Web Services Region.Use the
DataSetReferences
entity withinSourceTemplate
to list the replacement datasets for the placeholders listed in the original. The schema in each dataset must match its placeholder.- Parameters:
sourceEntity
- The entity that you are using as a source when you update the dashboard. InSourceEntity
, you specify the type of object you're using as source. You can only update a dashboard from a template, so you use aSourceTemplate
entity. If you need to update a dashboard from an analysis, first convert the analysis to a template by using theCreateTemplate
API operation. ForSourceTemplate
, specify the Amazon Resource Name (ARN) of the source template. TheSourceTemplate
ARN can contain any Amazon Web Services account and any Amazon QuickSight-supported Amazon Web Services Region.Use the
DataSetReferences
entity withinSourceTemplate
to list the replacement datasets for the placeholders listed in the original. The schema in each dataset must match its placeholder.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceEntity
default UpdateDashboardRequest.Builder sourceEntity(Consumer<DashboardSourceEntity.Builder> sourceEntity) The entity that you are using as a source when you update the dashboard. In
SourceEntity
, you specify the type of object you're using as source. You can only update a dashboard from a template, so you use aSourceTemplate
entity. If you need to update a dashboard from an analysis, first convert the analysis to a template by using theCreateTemplate
API operation. ForSourceTemplate
, specify the Amazon Resource Name (ARN) of the source template. TheSourceTemplate
ARN can contain any Amazon Web Services account and any Amazon QuickSight-supported Amazon Web Services Region.Use the
This is a convenience method that creates an instance of theDataSetReferences
entity withinSourceTemplate
to list the replacement datasets for the placeholders listed in the original. The schema in each dataset must match its placeholder.DashboardSourceEntity.Builder
avoiding the need to create one manually viaDashboardSourceEntity.builder()
.When the
Consumer
completes,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:
-
parameters
A structure that contains the parameters of the dashboard. These are parameter overrides for a dashboard. A dashboard can have any type of parameters, and some parameters might accept multiple values.
- Parameters:
parameters
- A structure that contains the parameters of the dashboard. These are parameter overrides for a dashboard. 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
A structure that contains the parameters of the dashboard. These are parameter overrides for a dashboard. 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.Builder
avoiding the need to create one manually viaParameters.builder()
.When the
Consumer
completes,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:
-
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
UpdateDashboardRequest.Builder dashboardPublishOptions(DashboardPublishOptions dashboardPublishOptions) Options for publishing the dashboard when you create it:
-
AvailabilityStatus
forAdHocFilteringOption
- This status can be eitherENABLED
orDISABLED
. 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 isENABLED
by default. -
AvailabilityStatus
forExportToCSVOption
- This status can be eitherENABLED
orDISABLED
. The visual option to export data to .CSV format isn't enabled when this is set toDISABLED
. This option isENABLED
by default. -
VisibilityState
forSheetControlsOption
- This visibility state can be eitherCOLLAPSED
orEXPANDED
. This option isCOLLAPSED
by default.
- Parameters:
dashboardPublishOptions
- Options for publishing the dashboard when you create it:-
AvailabilityStatus
forAdHocFilteringOption
- This status can be eitherENABLED
orDISABLED
. 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 isENABLED
by default. -
AvailabilityStatus
forExportToCSVOption
- This status can be eitherENABLED
orDISABLED
. The visual option to export data to .CSV format isn't enabled when this is set toDISABLED
. This option isENABLED
by default. -
VisibilityState
forSheetControlsOption
- This visibility state can be eitherCOLLAPSED
orEXPANDED
. This option isCOLLAPSED
by default.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
dashboardPublishOptions
default UpdateDashboardRequest.Builder dashboardPublishOptions(Consumer<DashboardPublishOptions.Builder> dashboardPublishOptions) Options for publishing the dashboard when you create it:
-
AvailabilityStatus
forAdHocFilteringOption
- This status can be eitherENABLED
orDISABLED
. 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 isENABLED
by default. -
AvailabilityStatus
forExportToCSVOption
- This status can be eitherENABLED
orDISABLED
. The visual option to export data to .CSV format isn't enabled when this is set toDISABLED
. This option isENABLED
by default. -
VisibilityState
forSheetControlsOption
- This visibility state can be eitherCOLLAPSED
orEXPANDED
. This option isCOLLAPSED
by default.
DashboardPublishOptions.Builder
avoiding the need to create one manually viaDashboardPublishOptions.builder()
.When the
Consumer
completes,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:
-
-
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 was originally associated with the 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 was originally associated with the 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
The definition of a dashboard.
A definition is the data model of all features in a Dashboard, Template, or Analysis.
- Parameters:
definition
- The definition of a dashboard.A definition is the data model of all features in a Dashboard, Template, or Analysis.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
definition
default UpdateDashboardRequest.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.
This is a convenience method that creates an instance of theDashboardVersionDefinition.Builder
avoiding the need to create one manually viaDashboardVersionDefinition.builder()
.When the
Consumer
completes,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:
-
validationStrategy
The option to relax the validation needed to update a dashboard with definition objects. This skips the validation step for specific errors.
- Parameters:
validationStrategy
- The option to relax the validation needed to update a dashboard with definition objects. This skips the validation step for specific errors.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
validationStrategy
default UpdateDashboardRequest.Builder validationStrategy(Consumer<ValidationStrategy.Builder> validationStrategy) The option to relax the validation needed to update a dashboard with definition objects. This skips the validation step for specific errors.
This is a convenience method that creates an instance of theValidationStrategy.Builder
avoiding the need to create one manually viaValidationStrategy.builder()
.When the
Consumer
completes,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:
-
overrideConfiguration
UpdateDashboardRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateDashboardRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-