Interface UsageAccountResult.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<UsageAccountResult.Builder,UsageAccountResult>,SdkBuilder<UsageAccountResult.Builder,UsageAccountResult>,SdkPojo
- Enclosing class:
- UsageAccountResult
public static interface UsageAccountResult.Builder extends SdkPojo, CopyableBuilder<UsageAccountResult.Builder,UsageAccountResult>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description UsageAccountResult.BuilderaccountId(String accountId)The Account ID that generated usage.default UsageAccountResult.Buildertotal(Consumer<Total.Builder> total)Represents the total of usage for the Account ID.UsageAccountResult.Buildertotal(Total total)Represents the total of usage for the Account ID.-
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
-
accountId
UsageAccountResult.Builder accountId(String accountId)
The Account ID that generated usage.
- Parameters:
accountId- The Account ID that generated usage.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
total
UsageAccountResult.Builder total(Total total)
Represents the total of usage for the Account ID.
- Parameters:
total- Represents the total of usage for the Account ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
total
default UsageAccountResult.Builder total(Consumer<Total.Builder> total)
Represents the total of usage for the Account ID.
This is a convenience method that creates an instance of theTotal.Builderavoiding the need to create one manually viaTotal.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tototal(Total).- Parameters:
total- a consumer that will call methods onTotal.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
total(Total)
-
-