Interface UsageTopAccountsResult.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<UsageTopAccountsResult.Builder,
,UsageTopAccountsResult> SdkBuilder<UsageTopAccountsResult.Builder,
,UsageTopAccountsResult> SdkPojo
- Enclosing class:
UsageTopAccountsResult
public static interface UsageTopAccountsResult.Builder
extends SdkPojo, CopyableBuilder<UsageTopAccountsResult.Builder,UsageTopAccountsResult>
-
Method Summary
Modifier and TypeMethodDescriptionaccounts
(Collection<UsageTopAccountResult> accounts) The accounts that contributed to the total usage cost.accounts
(Consumer<UsageTopAccountResult.Builder>... accounts) The accounts that contributed to the total usage cost.accounts
(UsageTopAccountResult... accounts) The accounts that contributed to the total usage cost.Features by which you can generate the usage statistics.feature
(UsageFeature feature) Features by which you can generate the usage statistics.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
-
feature
Features by which you can generate the usage statistics.
RDS_LOGIN_EVENTS
is currently not supported withtopAccountsByFeature
.- Parameters:
feature
- Features by which you can generate the usage statistics.RDS_LOGIN_EVENTS
is currently not supported withtopAccountsByFeature
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
feature
Features by which you can generate the usage statistics.
RDS_LOGIN_EVENTS
is currently not supported withtopAccountsByFeature
.- Parameters:
feature
- Features by which you can generate the usage statistics.RDS_LOGIN_EVENTS
is currently not supported withtopAccountsByFeature
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
accounts
The accounts that contributed to the total usage cost.
- Parameters:
accounts
- The accounts that contributed to the total usage cost.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accounts
The accounts that contributed to the total usage cost.
- Parameters:
accounts
- The accounts that contributed to the total usage cost.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accounts
The accounts that contributed to the total usage cost.
This is a convenience method that creates an instance of theUsageTopAccountResult.Builder
avoiding the need to create one manually viaUsageTopAccountResult.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toaccounts(List<UsageTopAccountResult>)
.- Parameters:
accounts
- a consumer that will call methods onUsageTopAccountResult.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-