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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.bcmdashboards.model.BcmDashboardsRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods 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.Builderavoiding the need to create one manually viaWidget.builder().When the
Consumercompletes,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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-