Interface UpdateDashboardRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateDashboardRequest.Builder,UpdateDashboardRequest>
,QuickSightRequest.Builder
,SdkBuilder<UpdateDashboardRequest.Builder,UpdateDashboardRequest>
,SdkPojo
,SdkRequest.Builder
- Enclosing class:
- UpdateDashboardRequest
public static interface UpdateDashboardRequest.Builder extends QuickSightRequest.Builder, SdkPojo, CopyableBuilder<UpdateDashboardRequest.Builder,UpdateDashboardRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description UpdateDashboardRequest.Builder
awsAccountId(String awsAccountId)
The ID of the Amazon Web Services account that contains the dashboard that you're updating.UpdateDashboardRequest.Builder
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:UpdateDashboardRequest.Builder
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.UpdateDashboardRequest.Builder
definition(DashboardVersionDefinition definition)
The definition of a dashboard.UpdateDashboardRequest.Builder
name(String name)
The display name of the dashboard.UpdateDashboardRequest.Builder
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
UpdateDashboardRequest.Builder
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
default UpdateDashboardRequest.Builder
parameters(Consumer<Parameters.Builder> parameters)
A structure that contains the parameters of the dashboard.UpdateDashboardRequest.Builder
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.UpdateDashboardRequest.Builder
sourceEntity(DashboardSourceEntity sourceEntity)
The entity that you are using as a source when you update the dashboard.UpdateDashboardRequest.Builder
themeArn(String themeArn)
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.UpdateDashboardRequest.Builder
validationStrategy(ValidationStrategy validationStrategy)
The option to relax the validation needed to update a dashboard with definition objects.UpdateDashboardRequest.Builder
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 Detail
-
awsAccountId
UpdateDashboardRequest.Builder awsAccountId(String 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
UpdateDashboardRequest.Builder dashboardId(String 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
UpdateDashboardRequest.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.
-
sourceEntity
UpdateDashboardRequest.Builder sourceEntity(DashboardSourceEntity 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:
sourceEntity(DashboardSourceEntity)
-
parameters
UpdateDashboardRequest.Builder parameters(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.
- 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
default UpdateDashboardRequest.Builder parameters(Consumer<Parameters.Builder> 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:
parameters(Parameters)
-
versionDescription
UpdateDashboardRequest.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
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:
dashboardPublishOptions(DashboardPublishOptions)
-
-
themeArn
UpdateDashboardRequest.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 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
UpdateDashboardRequest.Builder definition(DashboardVersionDefinition 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:
definition(DashboardVersionDefinition)
-
validationStrategy
UpdateDashboardRequest.Builder validationStrategy(ValidationStrategy 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:
validationStrategy(ValidationStrategy)
-
overrideConfiguration
UpdateDashboardRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateDashboardRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
-