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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description AccountHealth.BuilderaccountId(String accountId)The ID of the Amazon Web Services account.default AccountHealth.Builderinsight(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.AccountHealth.Builderinsight(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 Detail
-
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
AccountHealth.Builder 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.
- 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
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.
This is a convenience method that creates an instance of theAccountInsightHealth.Builderavoiding the need to create one manually viaAccountInsightHealth.builder().When the
Consumercompletes,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:
insight(AccountInsightHealth)
-
-