Interface UpdateDashboardRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,BcmDashboardsRequest.Builder
,Buildable
,CopyableBuilder<UpdateDashboardRequest.Builder,
,UpdateDashboardRequest> SdkBuilder<UpdateDashboardRequest.Builder,
,UpdateDashboardRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateDashboardRequest
@Mutable
@NotThreadSafe
public static interface UpdateDashboardRequest.Builder
extends BcmDashboardsRequest.Builder, SdkPojo, CopyableBuilder<UpdateDashboardRequest.Builder,UpdateDashboardRequest>
-
Method Summary
Modifier and TypeMethodDescriptionThe ARN of the dashboard to update.description
(String description) The new description for the dashboard.The new name for the dashboard.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.widgets
(Collection<Widget> widgets) The updated array of widget configurations for the dashboard.widgets
(Consumer<Widget.Builder>... widgets) The updated array of widget configurations for the dashboard.The updated array of widget configurations for the dashboard.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.services.bcmdashboards.model.BcmDashboardsRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
arn
The ARN of the dashboard to update.
- Parameters:
arn
- The ARN of the dashboard to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The new name for the dashboard. If not specified, the existing name is retained.
- Parameters:
name
- The new name for the dashboard. If not specified, the existing name is retained.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The new description for the dashboard. If not specified, the existing description is retained.
- Parameters:
description
- The new description for the dashboard. If not specified, the existing description is retained.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
widgets
The updated array of widget configurations for the dashboard. Replaces all existing widgets.
- Parameters:
widgets
- The updated array of widget configurations for the dashboard. Replaces all existing widgets.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
widgets
The updated array of widget configurations for the dashboard. Replaces all existing widgets.
- Parameters:
widgets
- The updated array of widget configurations for the dashboard. Replaces all existing widgets.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
widgets
The updated array of widget configurations for the dashboard. Replaces all existing widgets.
This is a convenience method that creates an instance of theWidget.Builder
avoiding the need to create one manually viaWidget.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed towidgets(List<Widget>)
.- Parameters:
widgets
- a consumer that will call methods onWidget.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.
-