Class PutDashboardRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.cloudwatch.model.CloudWatchRequest
-
- software.amazon.awssdk.services.cloudwatch.model.PutDashboardRequest
-
- All Implemented Interfaces:
SdkPojo
,ToCopyableBuilder<PutDashboardRequest.Builder,PutDashboardRequest>
@Generated("software.amazon.awssdk:codegen") public final class PutDashboardRequest extends CloudWatchRequest implements ToCopyableBuilder<PutDashboardRequest.Builder,PutDashboardRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
PutDashboardRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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)
boolean
equalsBySdkFields(Object obj)
<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
List<SdkField<?>>
sdkFields()
static Class<? extends PutDashboardRequest.Builder>
serializableBuilderClass()
PutDashboardRequest.Builder
toBuilder()
String
toString()
Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
dashboardName
public final 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.
- Returns:
- 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.
-
dashboardBody
public final 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 Dashboard Body Structure and Syntax.
- Returns:
- 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.
-
toBuilder
public PutDashboardRequest.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<PutDashboardRequest.Builder,PutDashboardRequest>
- Specified by:
toBuilder
in classCloudWatchRequest
-
builder
public static PutDashboardRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends PutDashboardRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCode
in classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equals
in classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForField
in classSdkRequest
-
-