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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description UsageTopAccountsResult.Builderaccounts(Collection<UsageTopAccountResult> accounts)The accounts that contributed to the total usage cost.UsageTopAccountsResult.Builderaccounts(Consumer<UsageTopAccountResult.Builder>... accounts)The accounts that contributed to the total usage cost.UsageTopAccountsResult.Builderaccounts(UsageTopAccountResult... accounts)The accounts that contributed to the total usage cost.UsageTopAccountsResult.Builderfeature(String feature)Features by which you can generate the usage statistics.UsageTopAccountsResult.Builderfeature(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 Detail
-
feature
UsageTopAccountsResult.Builder feature(String feature)
Features by which you can generate the usage statistics.
RDS_LOGIN_EVENTSis currently not supported withtopAccountsByFeature.- Parameters:
feature- Features by which you can generate the usage statistics.RDS_LOGIN_EVENTSis currently not supported withtopAccountsByFeature.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
UsageFeature,UsageFeature
-
feature
UsageTopAccountsResult.Builder feature(UsageFeature feature)
Features by which you can generate the usage statistics.
RDS_LOGIN_EVENTSis currently not supported withtopAccountsByFeature.- Parameters:
feature- Features by which you can generate the usage statistics.RDS_LOGIN_EVENTSis currently not supported withtopAccountsByFeature.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
UsageFeature,UsageFeature
-
accounts
UsageTopAccountsResult.Builder accounts(Collection<UsageTopAccountResult> 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
UsageTopAccountsResult.Builder accounts(UsageTopAccountResult... 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
UsageTopAccountsResult.Builder accounts(Consumer<UsageTopAccountResult.Builder>... accounts)
The accounts that contributed to the total usage cost.
This is a convenience method that creates an instance of theUsageTopAccountResult.Builderavoiding the need to create one manually viaUsageTopAccountResult.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#accounts(List.) - 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:
#accounts(java.util.Collection)
-
-