Interface GetDashboardResponse.Builder

  • Method Details

    • dashboardArn

      GetDashboardResponse.Builder dashboardArn(String dashboardArn)

      The ARN for the dashboard.

      Parameters:
      dashboardArn - The ARN for the dashboard.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • type

      The type of dashboard.

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

      The type of dashboard.

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

      The status of the dashboard.

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

      The status of the dashboard.

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

      An array of widgets for the dashboard.

      Parameters:
      widgets - An array of widgets for 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 widgets for the dashboard.

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

      An array of widgets for 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:
    • refreshSchedule

      GetDashboardResponse.Builder refreshSchedule(RefreshSchedule refreshSchedule)

      The refresh schedule for the dashboard, if configured.

      Parameters:
      refreshSchedule - The refresh schedule for the dashboard, if configured.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • refreshSchedule

      default GetDashboardResponse.Builder refreshSchedule(Consumer<RefreshSchedule.Builder> refreshSchedule)

      The refresh schedule for the dashboard, if configured.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to refreshSchedule(RefreshSchedule).

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

      GetDashboardResponse.Builder createdTimestamp(Instant createdTimestamp)

      The timestamp that shows when the dashboard was created.

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

      GetDashboardResponse.Builder updatedTimestamp(Instant updatedTimestamp)

      The timestamp that shows when the dashboard was last updated.

      Parameters:
      updatedTimestamp - The timestamp that shows when the dashboard was last updated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lastRefreshId

      GetDashboardResponse.Builder lastRefreshId(String lastRefreshId)

      The ID of the last dashboard refresh.

      Parameters:
      lastRefreshId - The ID of the last dashboard refresh.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lastRefreshFailureReason

      GetDashboardResponse.Builder lastRefreshFailureReason(String lastRefreshFailureReason)

      Provides information about failures for the last scheduled refresh.

      Parameters:
      lastRefreshFailureReason - Provides information about failures for the last scheduled refresh.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • terminationProtectionEnabled

      GetDashboardResponse.Builder terminationProtectionEnabled(Boolean terminationProtectionEnabled)

      Indicates whether termination protection is enabled for the dashboard.

      Parameters:
      terminationProtectionEnabled - Indicates whether termination protection is enabled for the dashboard.
      Returns:
      Returns a reference to this object so that method calls can be chained together.