Interface UsageTopAccountResult.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<UsageTopAccountResult.Builder,UsageTopAccountResult>,SdkBuilder<UsageTopAccountResult.Builder,UsageTopAccountResult>,SdkPojo
- Enclosing class:
- UsageTopAccountResult
public static interface UsageTopAccountResult.Builder extends SdkPojo, CopyableBuilder<UsageTopAccountResult.Builder,UsageTopAccountResult>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description UsageTopAccountResult.BuilderaccountId(String accountId)The unique account ID.default UsageTopAccountResult.Buildertotal(Consumer<Total.Builder> total)Sets the value of the Total property for this object.UsageTopAccountResult.Buildertotal(Total total)Sets the value of the Total property for this object.-
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
UsageTopAccountResult.Builder accountId(String accountId)
The unique account ID.
- Parameters:
accountId- The unique account ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
total
UsageTopAccountResult.Builder total(Total total)
Sets the value of the Total property for this object.- Parameters:
total- The new value for the Total property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
total
default UsageTopAccountResult.Builder total(Consumer<Total.Builder> total)
Sets the value of the Total property for this object. 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)
-
-