Interface CreateDashboardRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,BcmDashboardsRequest.Builder
,Buildable
,CopyableBuilder<CreateDashboardRequest.Builder,
,CreateDashboardRequest> SdkBuilder<CreateDashboardRequest.Builder,
,CreateDashboardRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateDashboardRequest
-
Method Summary
Modifier and TypeMethodDescriptiondescription
(String description) A description of the dashboard's purpose or contents.The name of the dashboard.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.resourceTags
(Collection<ResourceTag> resourceTags) The tags to apply to the dashboard resource for organization and management.resourceTags
(Consumer<ResourceTag.Builder>... resourceTags) The tags to apply to the dashboard resource for organization and management.resourceTags
(ResourceTag... resourceTags) The tags to apply to the dashboard resource for organization and management.widgets
(Collection<Widget> widgets) An array of widget configurations that define the visualizations to be displayed in the dashboard.widgets
(Consumer<Widget.Builder>... widgets) An array of widget configurations that define the visualizations to be displayed in the dashboard.An array of widget configurations that define the visualizations to be displayed in 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
-
name
The name of the dashboard. The name must be unique within your account.
- Parameters:
name
- The name of the dashboard. The name must be unique within your account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
A description of the dashboard's purpose or contents.
- Parameters:
description
- A description of the dashboard's purpose or contents.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
widgets
An array of widget configurations that define the visualizations to be displayed in the dashboard. Each dashboard can contain up to 20 widgets.
- Parameters:
widgets
- An array of widget configurations that define the visualizations to be displayed in the dashboard. Each dashboard can contain up to 20 widgets.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
widgets
An array of widget configurations that define the visualizations to be displayed in the dashboard. Each dashboard can contain up to 20 widgets.
- Parameters:
widgets
- An array of widget configurations that define the visualizations to be displayed in the dashboard. Each dashboard can contain up to 20 widgets.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
widgets
An array of widget configurations that define the visualizations to be displayed in the dashboard. Each dashboard can contain up to 20 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:
-
resourceTags
The tags to apply to the dashboard resource for organization and management.
- Parameters:
resourceTags
- The tags to apply to the dashboard resource for organization and management.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceTags
The tags to apply to the dashboard resource for organization and management.
- Parameters:
resourceTags
- The tags to apply to the dashboard resource for organization and management.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceTags
The tags to apply to the dashboard resource for organization and management.
This is a convenience method that creates an instance of theResourceTag.Builder
avoiding the need to create one manually viaResourceTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toresourceTags(List<ResourceTag>)
.- Parameters:
resourceTags
- a consumer that will call methods onResourceTag.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
CreateDashboardRequest.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
CreateDashboardRequest.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.
-