Interface ListUsageTotalsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListUsageTotalsResponse.Builder,ListUsageTotalsResponse>,Inspector2Response.Builder,SdkBuilder<ListUsageTotalsResponse.Builder,ListUsageTotalsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListUsageTotalsResponse
public static interface ListUsageTotalsResponse.Builder extends Inspector2Response.Builder, SdkPojo, CopyableBuilder<ListUsageTotalsResponse.Builder,ListUsageTotalsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListUsageTotalsResponse.BuildernextToken(String nextToken)The pagination parameter to be used on the next list operation to retrieve more items.ListUsageTotalsResponse.Buildertotals(Collection<UsageTotal> totals)An object with details on the total usage for the requested account.ListUsageTotalsResponse.Buildertotals(Consumer<UsageTotal.Builder>... totals)An object with details on the total usage for the requested account.ListUsageTotalsResponse.Buildertotals(UsageTotal... totals)An object with details on the total usage for the requested account.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.inspector2.model.Inspector2Response.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
nextToken
ListUsageTotalsResponse.Builder nextToken(String nextToken)
The pagination parameter to be used on the next list operation to retrieve more items.
- Parameters:
nextToken- The pagination parameter to be used on the next list operation to retrieve more items.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
totals
ListUsageTotalsResponse.Builder totals(Collection<UsageTotal> totals)
An object with details on the total usage for the requested account.
- Parameters:
totals- An object with details on the total usage for the requested account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
totals
ListUsageTotalsResponse.Builder totals(UsageTotal... totals)
An object with details on the total usage for the requested account.
- Parameters:
totals- An object with details on the total usage for the requested account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
totals
ListUsageTotalsResponse.Builder totals(Consumer<UsageTotal.Builder>... totals)
An object with details on the total usage for the requested account.
This is a convenience method that creates an instance of theUsageTotal.Builderavoiding the need to create one manually viaUsageTotal.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#totals(List.) - Parameters:
totals- a consumer that will call methods onUsageTotal.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#totals(java.util.Collection)
-
-