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
Modifier and TypeMethodDescriptionThe unique account ID.default UsageTopAccountResult.Buildertotal(Consumer<Total.Builder> total) Sets the value of the Total property for this object.Sets the value of the Total property for this object.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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
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
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:
-