Interface ListUsageTotalsRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ListUsageTotalsRequest.Builder,ListUsageTotalsRequest>,Inspector2Request.Builder,SdkBuilder<ListUsageTotalsRequest.Builder,ListUsageTotalsRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- ListUsageTotalsRequest
public static interface ListUsageTotalsRequest.Builder extends Inspector2Request.Builder, SdkPojo, CopyableBuilder<ListUsageTotalsRequest.Builder,ListUsageTotalsRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListUsageTotalsRequest.BuilderaccountIds(String... accountIds)The Amazon Web Services account IDs to retrieve usage totals for.ListUsageTotalsRequest.BuilderaccountIds(Collection<String> accountIds)The Amazon Web Services account IDs to retrieve usage totals for.ListUsageTotalsRequest.BuildermaxResults(Integer maxResults)The maximum number of results the response can return.ListUsageTotalsRequest.BuildernextToken(String nextToken)A token to use for paginating results that are returned in the response.ListUsageTotalsRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)ListUsageTotalsRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.inspector2.model.Inspector2Request.Builder
build
-
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
-
accountIds
ListUsageTotalsRequest.Builder accountIds(Collection<String> accountIds)
The Amazon Web Services account IDs to retrieve usage totals for.
- Parameters:
accountIds- The Amazon Web Services account IDs to retrieve usage totals for.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accountIds
ListUsageTotalsRequest.Builder accountIds(String... accountIds)
The Amazon Web Services account IDs to retrieve usage totals for.
- Parameters:
accountIds- The Amazon Web Services account IDs to retrieve usage totals for.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxResults
ListUsageTotalsRequest.Builder maxResults(Integer maxResults)
The maximum number of results the response can return. If your request would return more than the maximum the response will return a
nextTokenvalue, use this value when you call the action again to get the remaining results.- Parameters:
maxResults- The maximum number of results the response can return. If your request would return more than the maximum the response will return anextTokenvalue, use this value when you call the action again to get the remaining results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
ListUsageTotalsRequest.Builder nextToken(String nextToken)
A token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request to a list action. If your response returns more than the
maxResultsmaximum value it will also return anextTokenvalue. For subsequent calls, use thenextTokenvalue returned from the previous request to continue listing results after the first page.- Parameters:
nextToken- A token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request to a list action. If your response returns more than themaxResultsmaximum value it will also return anextTokenvalue. For subsequent calls, use thenextTokenvalue returned from the previous request to continue listing results after the first page.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ListUsageTotalsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
ListUsageTotalsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-