Interface AccountHealth.Builder

All Superinterfaces:
Buildable, CopyableBuilder<AccountHealth.Builder,AccountHealth>, SdkBuilder<AccountHealth.Builder,AccountHealth>, SdkPojo
Enclosing class:
AccountHealth

public static interface AccountHealth.Builder extends SdkPojo, CopyableBuilder<AccountHealth.Builder,AccountHealth>
  • Method Details

    • accountId

      AccountHealth.Builder accountId(String accountId)

      The ID of the Amazon Web Services account.

      Parameters:
      accountId - The ID of the Amazon Web Services account.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • insight

      Information about the health of the Amazon Web Services resources in your account, including the number of open proactive, open reactive insights, and the Mean Time to Recover (MTTR) of closed insights.

      Parameters:
      insight - Information about the health of the Amazon Web Services resources in your account, including the number of open proactive, open reactive insights, and the Mean Time to Recover (MTTR) of closed insights.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • insight

      Information about the health of the Amazon Web Services resources in your account, including the number of open proactive, open reactive insights, and the Mean Time to Recover (MTTR) of closed insights.

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

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

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