@Generated(value="software.amazon.awssdk:codegen") public final class PutDashboardRequest extends CloudWatchRequest implements ToCopyableBuilder<PutDashboardRequest.Builder,PutDashboardRequest>
Modifier and Type | Class and Description |
---|---|
static interface |
PutDashboardRequest.Builder |
Modifier and Type | Method and Description |
---|---|
static PutDashboardRequest.Builder |
builder() |
String |
dashboardBody()
The detailed information about the dashboard in JSON format, including the widgets to include and their location
on the dashboard.
|
String |
dashboardName()
The name of the dashboard.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkRequest . |
int |
hashCode() |
static Class<? extends PutDashboardRequest.Builder> |
serializableBuilderClass() |
PutDashboardRequest.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
overrideConfiguration
copy
public 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 "_". This parameter is required.
public String 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 CloudWatch-Dashboard-Body-Structure.
For more information about the syntax, see CloudWatch-Dashboard-Body-Structure.
public PutDashboardRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<PutDashboardRequest.Builder,PutDashboardRequest>
toBuilder
in class CloudWatchRequest
public static PutDashboardRequest.Builder builder()
public static Class<? extends PutDashboardRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkRequest
SdkRequest
. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkRequest.getValueForField(String, Class)
method will
again be available.getValueForField
in class SdkRequest
fieldName
- The name of the member to be retrieved.clazz
- The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.