public static interface UsageAccountResult.Builder extends SdkPojo, CopyableBuilder<UsageAccountResult.Builder,UsageAccountResult>
Modifier and Type | Method and Description |
---|---|
UsageAccountResult.Builder |
accountId(String accountId)
The Account ID that generated usage.
|
default UsageAccountResult.Builder |
total(Consumer<Total.Builder> total)
Represents the total of usage for the Account ID.
|
UsageAccountResult.Builder |
total(Total total)
Represents the total of usage for the Account ID.
|
equalsBySdkFields, sdkFields
copy
applyMutation, build
UsageAccountResult.Builder accountId(String accountId)
The Account ID that generated usage.
accountId
- The Account ID that generated usage.UsageAccountResult.Builder total(Total total)
Represents the total of usage for the Account ID.
total
- Represents the total of usage for the Account ID.default UsageAccountResult.Builder total(Consumer<Total.Builder> total)
Represents the total of usage for the Account ID.
This is a convenience that creates an instance of theTotal.Builder
avoiding the need to create one
manually via Total.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its result is
passed to total(Total)
.total
- a consumer that will call methods on Total.Builder
total(Total)
Copyright © 2021 Amazon Web Services, Inc. All Rights Reserved.