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 Summary
Modifier and TypeMethodDescriptionThe ID of the Amazon Web Services account.default AccountHealth.Builder
insight
(Consumer<AccountInsightHealth.Builder> 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.insight
(AccountInsightHealth 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.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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 theAccountInsightHealth.Builder
avoiding the need to create one manually viaAccountInsightHealth.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toinsight(AccountInsightHealth)
.- Parameters:
insight
- a consumer that will call methods onAccountInsightHealth.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-