Interface GetDashboardResponse.Builder

  • Method Details

    • arn

      The ARN of the retrieved dashboard.

      Parameters:
      arn - The ARN of the retrieved dashboard.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • name

      The name of the retrieved dashboard.

      Parameters:
      name - The name of the retrieved dashboard.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • description

      GetDashboardResponse.Builder description(String description)

      The description of the retrieved dashboard.

      Parameters:
      description - The description of the retrieved dashboard.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • type

      Indicates the dashboard type.

      Parameters:
      type - Indicates the dashboard type.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • type

      Indicates the dashboard type.

      Parameters:
      type - Indicates the dashboard type.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • widgets

      An array of widget configurations that make up the dashboard.

      Parameters:
      widgets - An array of widget configurations that make up the dashboard.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • widgets

      GetDashboardResponse.Builder widgets(Widget... widgets)

      An array of widget configurations that make up the dashboard.

      Parameters:
      widgets - An array of widget configurations that make up the dashboard.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • widgets

      An array of widget configurations that make up the dashboard.

      This is a convenience method that creates an instance of the Widget.Builder avoiding the need to create one manually via Widget.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to widgets(List<Widget>).

      Parameters:
      widgets - a consumer that will call methods on Widget.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • createdAt

      GetDashboardResponse.Builder createdAt(Instant createdAt)

      The timestamp when the dashboard was created.

      Parameters:
      createdAt - The timestamp when the dashboard was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • updatedAt

      GetDashboardResponse.Builder updatedAt(Instant updatedAt)

      The timestamp when the dashboard was last modified.

      Parameters:
      updatedAt - The timestamp when the dashboard was last modified.
      Returns:
      Returns a reference to this object so that method calls can be chained together.