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 theUsage.Builder avoiding the need to create one
manually via Usage.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and its
result is passed to #usage(List.
usage - a consumer that will call methods on
Usage.Builder#usage(java.util.Collection) Copyright © 2022. All rights reserved.