public static interface UsageResourceResult.Builder extends SdkPojo, CopyableBuilder<UsageResourceResult.Builder,UsageResourceResult>
| Modifier and Type | Method and Description |
|---|---|
UsageResourceResult.Builder |
resource(String resource)
The AWS resource that generated usage.
|
default UsageResourceResult.Builder |
total(Consumer<Total.Builder> total)
Represents the sum total of usage for the specified resource type.
|
UsageResourceResult.Builder |
total(Total total)
Represents the sum total of usage for the specified resource type.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildUsageResourceResult.Builder resource(String resource)
The AWS resource that generated usage.
resource - The AWS resource that generated usage.UsageResourceResult.Builder total(Total total)
Represents the sum total of usage for the specified resource type.
total - Represents the sum total of usage for the specified resource type.default UsageResourceResult.Builder total(Consumer<Total.Builder> total)
Represents the sum total of usage for the specified resource type.
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.Buildertotal(Total)Copyright © 2020. All rights reserved.