Class 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>
  • Method Details

    • 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 interface ToCopyableBuilder<PutDashboardRequest.Builder,PutDashboardRequest>
      Specified by:
      toBuilder in class CloudWatchRequest
    • builder

      public static PutDashboardRequest.Builder builder()
    • serializableBuilderClass

      public static Class<? extends PutDashboardRequest.Builder> serializableBuilderClass()
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class AwsRequest
    • equals

      public final boolean equals(Object obj)
      Overrides:
      equals in class AwsRequest
    • equalsBySdkFields

      public final boolean equalsBySdkFields(Object obj)
      Specified by:
      equalsBySdkFields in interface SdkPojo
    • 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.
      Overrides:
      toString in class Object
    • getValueForField

      public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
      Overrides:
      getValueForField in class SdkRequest
    • sdkFields

      public final List<SdkField<?>> sdkFields()
      Specified by:
      sdkFields in interface SdkPojo
    • sdkFieldNameToField

      public final Map<String,SdkField<?>> sdkFieldNameToField()
      Specified by:
      sdkFieldNameToField in interface SdkPojo