Interface PutDashboardRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CloudWatchRequest.Builder
,CopyableBuilder<PutDashboardRequest.Builder,
,PutDashboardRequest> SdkBuilder<PutDashboardRequest.Builder,
,PutDashboardRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
PutDashboardRequest
@Mutable
@NotThreadSafe
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
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.services.cloudwatch.model.CloudWatchRequest.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
-
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.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
PutDashboardRequest.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.
-