Interface GetApproximateUsageRecordsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<GetApproximateUsageRecordsRequest.Builder,
,GetApproximateUsageRecordsRequest> CostExplorerRequest.Builder
,SdkBuilder<GetApproximateUsageRecordsRequest.Builder,
,GetApproximateUsageRecordsRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
GetApproximateUsageRecordsRequest
-
Method Summary
Modifier and TypeMethodDescriptionapproximationDimension
(String approximationDimension) The service to evaluate for the usage records.approximationDimension
(ApproximationDimension approximationDimension) The service to evaluate for the usage records.granularity
(String granularity) How granular you want the data to be.granularity
(Granularity granularity) How granular you want the data to be.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The service metadata for the service or services you want to query.services
(Collection<String> services) The service metadata for the service or services you want to query.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.costexplorer.model.CostExplorerRequest.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 Details
-
granularity
How granular you want the data to be. You can enable data at hourly or daily granularity.
- Parameters:
granularity
- How granular you want the data to be. You can enable data at hourly or daily granularity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
granularity
How granular you want the data to be. You can enable data at hourly or daily granularity.
- Parameters:
granularity
- How granular you want the data to be. You can enable data at hourly or daily granularity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
services
The service metadata for the service or services you want to query. If not specified, all elements are returned.
- Parameters:
services
- The service metadata for the service or services you want to query. If not specified, all elements are returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
services
The service metadata for the service or services you want to query. If not specified, all elements are returned.
- Parameters:
services
- The service metadata for the service or services you want to query. If not specified, all elements are returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
approximationDimension
The service to evaluate for the usage records. You can choose resource-level data at daily granularity, or hourly granularity with or without resource-level data.
- Parameters:
approximationDimension
- The service to evaluate for the usage records. You can choose resource-level data at daily granularity, or hourly granularity with or without resource-level data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
approximationDimension
GetApproximateUsageRecordsRequest.Builder approximationDimension(ApproximationDimension approximationDimension) The service to evaluate for the usage records. You can choose resource-level data at daily granularity, or hourly granularity with or without resource-level data.
- Parameters:
approximationDimension
- The service to evaluate for the usage records. You can choose resource-level data at daily granularity, or hourly granularity with or without resource-level data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
GetApproximateUsageRecordsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
GetApproximateUsageRecordsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-