public static interface PutDashboardRequest.Builder extends CloudWatchRequest.Builder, CopyableBuilder<PutDashboardRequest.Builder,PutDashboardRequest>
Modifier and Type | Method and Description |
---|---|
PutDashboardRequest.Builder |
dashboardBody(String dashboardBody)
The detailed information about the dashboard in JSON format, including the widgets to include and their
location on the dashboard.
|
PutDashboardRequest.Builder |
dashboardName(String dashboardName)
The name of the dashboard.
|
PutDashboardRequest.Builder |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
PutDashboardRequest.Builder |
requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
Add an optional request override configuration.
|
build
requestOverrideConfig
copy
apply, build
PutDashboardRequest.Builder dashboardName(String 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 "_".
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 "_".PutDashboardRequest.Builder dashboardBody(String dashboardBody)
The detailed information about the dashboard in JSON format, including the widgets to include and their location on the dashboard.
For more information about the syntax, see CloudWatch-Dashboard-Body-Structure.
dashboardBody
- The detailed information about the dashboard in JSON format, including the widgets to include and
their location on the dashboard.
For more information about the syntax, see CloudWatch-Dashboard-Body-Structure.
PutDashboardRequest.Builder requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
awsRequestOverrideConfig
- The override configuration.PutDashboardRequest.Builder requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfig.Builder
will be given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.