Interface PutDashboardRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CloudWatchRequest.Builder,CopyableBuilder<PutDashboardRequest.Builder,,PutDashboardRequest> SdkBuilder<PutDashboardRequest.Builder,,PutDashboardRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
PutDashboardRequest
public static interface PutDashboardRequest.Builder
extends CloudWatchRequest.Builder, SdkPojo, CopyableBuilder<PutDashboardRequest.Builder,PutDashboardRequest>
-
Method Summary
Modifier and TypeMethodDescriptiondashboardBody(String dashboardBody) The detailed information about the dashboard in JSON format, including the widgets to include and their location on the dashboard.dashboardName(String dashboardName) 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.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.cloudwatch.model.CloudWatchRequest.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, sdkFields
-
Method Details
-
dashboardName
The name of the dashboard. If a dashboard with this name already exists, this call modifies that dashboard, replacing its current contents. Otherwise, a new dashboard is created. The maximum length is 255, and valid characters are A-Z, a-z, 0-9, "-", and "_". This parameter is required.
- Parameters:
dashboardName- The name of the dashboard. If a dashboard with this name already exists, this call modifies that dashboard, replacing its current contents. Otherwise, a new dashboard is created. The maximum length is 255, and valid characters are A-Z, a-z, 0-9, "-", and "_". This parameter is required.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dashboardBody
The detailed information about the dashboard in JSON format, including the widgets to include and their location on the dashboard. This parameter is required.
For more information about the syntax, see Dashboard Body Structure and Syntax.
- Parameters:
dashboardBody- The detailed information about the dashboard in JSON format, including the widgets to include and their location on the dashboard. This parameter is required.For more information about the syntax, see Dashboard Body Structure and Syntax.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
PutDashboardRequest.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
PutDashboardRequest.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.
-