Interface GetSavingsPlansUtilizationResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetSavingsPlansUtilizationResponse.Builder,GetSavingsPlansUtilizationResponse>,CostExplorerResponse.Builder,SdkBuilder<GetSavingsPlansUtilizationResponse.Builder,GetSavingsPlansUtilizationResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetSavingsPlansUtilizationResponse
public static interface GetSavingsPlansUtilizationResponse.Builder extends CostExplorerResponse.Builder, SdkPojo, CopyableBuilder<GetSavingsPlansUtilizationResponse.Builder,GetSavingsPlansUtilizationResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description GetSavingsPlansUtilizationResponse.BuildersavingsPlansUtilizationsByTime(Collection<SavingsPlansUtilizationByTime> savingsPlansUtilizationsByTime)The amount of cost/commitment that you used your Savings Plans.GetSavingsPlansUtilizationResponse.BuildersavingsPlansUtilizationsByTime(Consumer<SavingsPlansUtilizationByTime.Builder>... savingsPlansUtilizationsByTime)The amount of cost/commitment that you used your Savings Plans.GetSavingsPlansUtilizationResponse.BuildersavingsPlansUtilizationsByTime(SavingsPlansUtilizationByTime... savingsPlansUtilizationsByTime)The amount of cost/commitment that you used your Savings Plans.default GetSavingsPlansUtilizationResponse.Buildertotal(Consumer<SavingsPlansUtilizationAggregates.Builder> total)The total amount of cost/commitment that you used your Savings Plans, regardless of date ranges.GetSavingsPlansUtilizationResponse.Buildertotal(SavingsPlansUtilizationAggregates total)The total amount of cost/commitment that you used your Savings Plans, regardless of date ranges.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.costexplorer.model.CostExplorerResponse.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
-
savingsPlansUtilizationsByTime
GetSavingsPlansUtilizationResponse.Builder savingsPlansUtilizationsByTime(Collection<SavingsPlansUtilizationByTime> savingsPlansUtilizationsByTime)
The amount of cost/commitment that you used your Savings Plans. You can use it to specify date ranges.
- Parameters:
savingsPlansUtilizationsByTime- The amount of cost/commitment that you used your Savings Plans. You can use it to specify date ranges.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
savingsPlansUtilizationsByTime
GetSavingsPlansUtilizationResponse.Builder savingsPlansUtilizationsByTime(SavingsPlansUtilizationByTime... savingsPlansUtilizationsByTime)
The amount of cost/commitment that you used your Savings Plans. You can use it to specify date ranges.
- Parameters:
savingsPlansUtilizationsByTime- The amount of cost/commitment that you used your Savings Plans. You can use it to specify date ranges.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
savingsPlansUtilizationsByTime
GetSavingsPlansUtilizationResponse.Builder savingsPlansUtilizationsByTime(Consumer<SavingsPlansUtilizationByTime.Builder>... savingsPlansUtilizationsByTime)
The amount of cost/commitment that you used your Savings Plans. You can use it to specify date ranges.
This is a convenience method that creates an instance of theSavingsPlansUtilizationByTime.Builderavoiding the need to create one manually viaSavingsPlansUtilizationByTime.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#savingsPlansUtilizationsByTime(List.) - Parameters:
savingsPlansUtilizationsByTime- a consumer that will call methods onSavingsPlansUtilizationByTime.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#savingsPlansUtilizationsByTime(java.util.Collection)
-
total
GetSavingsPlansUtilizationResponse.Builder total(SavingsPlansUtilizationAggregates total)
The total amount of cost/commitment that you used your Savings Plans, regardless of date ranges.
- Parameters:
total- The total amount of cost/commitment that you used your Savings Plans, regardless of date ranges.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
total
default GetSavingsPlansUtilizationResponse.Builder total(Consumer<SavingsPlansUtilizationAggregates.Builder> total)
The total amount of cost/commitment that you used your Savings Plans, regardless of date ranges.
This is a convenience method that creates an instance of theSavingsPlansUtilizationAggregates.Builderavoiding the need to create one manually viaSavingsPlansUtilizationAggregates.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tototal(SavingsPlansUtilizationAggregates).- Parameters:
total- a consumer that will call methods onSavingsPlansUtilizationAggregates.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
total(SavingsPlansUtilizationAggregates)
-
-