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
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
-
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.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:
-
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.Builderavoiding the need to create one manually viaResourceTag.builder().When the
Consumercompletes,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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.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.
-