public static interface UsageTotal.Builder extends SdkPojo, CopyableBuilder<UsageTotal.Builder,UsageTotal>
| Modifier and Type | Method and Description |
|---|---|
UsageTotal.Builder |
accountId(String accountId)
The account ID of the account that usage data was retrieved for.
|
UsageTotal.Builder |
usage(Collection<Usage> usage)
An object representing the total usage for an account.
|
UsageTotal.Builder |
usage(Consumer<Usage.Builder>... usage)
An object representing the total usage for an account.
|
UsageTotal.Builder |
usage(Usage... usage)
An object representing the total usage for an account.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildUsageTotal.Builder accountId(String accountId)
The account ID of the account that usage data was retrieved for.
accountId - The account ID of the account that usage data was retrieved for.UsageTotal.Builder usage(Collection<Usage> usage)
An object representing the total usage for an account.
usage - An object representing the total usage for an account.UsageTotal.Builder usage(Usage... usage)
An object representing the total usage for an account.
usage - An object representing the total usage for an account.UsageTotal.Builder usage(Consumer<Usage.Builder>... usage)
An object representing the total usage for an account.
This is a convenience method that creates an instance of theList.Builder avoiding the need to
create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately and its result
is passed to #usage(List) .usage - a consumer that will call methods on List.Builder #usage(List) Copyright © 2022. All rights reserved.