Interface GetSavingsPlansUtilizationDetailsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetSavingsPlansUtilizationDetailsResponse.Builder,GetSavingsPlansUtilizationDetailsResponse>,CostExplorerResponse.Builder,SdkBuilder<GetSavingsPlansUtilizationDetailsResponse.Builder,GetSavingsPlansUtilizationDetailsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetSavingsPlansUtilizationDetailsResponse
public static interface GetSavingsPlansUtilizationDetailsResponse.Builder extends CostExplorerResponse.Builder, SdkPojo, CopyableBuilder<GetSavingsPlansUtilizationDetailsResponse.Builder,GetSavingsPlansUtilizationDetailsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description GetSavingsPlansUtilizationDetailsResponse.BuildernextToken(String nextToken)The token to retrieve the next set of results.GetSavingsPlansUtilizationDetailsResponse.BuildersavingsPlansUtilizationDetails(Collection<SavingsPlansUtilizationDetail> savingsPlansUtilizationDetails)Retrieves a single daily or monthly Savings Plans utilization rate and details for your account.GetSavingsPlansUtilizationDetailsResponse.BuildersavingsPlansUtilizationDetails(Consumer<SavingsPlansUtilizationDetail.Builder>... savingsPlansUtilizationDetails)Retrieves a single daily or monthly Savings Plans utilization rate and details for your account.GetSavingsPlansUtilizationDetailsResponse.BuildersavingsPlansUtilizationDetails(SavingsPlansUtilizationDetail... savingsPlansUtilizationDetails)Retrieves a single daily or monthly Savings Plans utilization rate and details for your account.default GetSavingsPlansUtilizationDetailsResponse.BuildertimePeriod(Consumer<DateInterval.Builder> timePeriod)Sets the value of the TimePeriod property for this object.GetSavingsPlansUtilizationDetailsResponse.BuildertimePeriod(DateInterval timePeriod)Sets the value of the TimePeriod property for this object.default GetSavingsPlansUtilizationDetailsResponse.Buildertotal(Consumer<SavingsPlansUtilizationAggregates.Builder> total)The total Savings Plans utilization, regardless of time period.GetSavingsPlansUtilizationDetailsResponse.Buildertotal(SavingsPlansUtilizationAggregates total)The total Savings Plans utilization, regardless of time period.-
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
-
savingsPlansUtilizationDetails
GetSavingsPlansUtilizationDetailsResponse.Builder savingsPlansUtilizationDetails(Collection<SavingsPlansUtilizationDetail> savingsPlansUtilizationDetails)
Retrieves a single daily or monthly Savings Plans utilization rate and details for your account.
- Parameters:
savingsPlansUtilizationDetails- Retrieves a single daily or monthly Savings Plans utilization rate and details for your account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
savingsPlansUtilizationDetails
GetSavingsPlansUtilizationDetailsResponse.Builder savingsPlansUtilizationDetails(SavingsPlansUtilizationDetail... savingsPlansUtilizationDetails)
Retrieves a single daily or monthly Savings Plans utilization rate and details for your account.
- Parameters:
savingsPlansUtilizationDetails- Retrieves a single daily or monthly Savings Plans utilization rate and details for your account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
savingsPlansUtilizationDetails
GetSavingsPlansUtilizationDetailsResponse.Builder savingsPlansUtilizationDetails(Consumer<SavingsPlansUtilizationDetail.Builder>... savingsPlansUtilizationDetails)
Retrieves a single daily or monthly Savings Plans utilization rate and details for your account.
This is a convenience method that creates an instance of theSavingsPlansUtilizationDetail.Builderavoiding the need to create one manually viaSavingsPlansUtilizationDetail.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#savingsPlansUtilizationDetails(List.) - Parameters:
savingsPlansUtilizationDetails- a consumer that will call methods onSavingsPlansUtilizationDetail.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#savingsPlansUtilizationDetails(java.util.Collection)
-
total
GetSavingsPlansUtilizationDetailsResponse.Builder total(SavingsPlansUtilizationAggregates total)
The total Savings Plans utilization, regardless of time period.
- Parameters:
total- The total Savings Plans utilization, regardless of time period.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
total
default GetSavingsPlansUtilizationDetailsResponse.Builder total(Consumer<SavingsPlansUtilizationAggregates.Builder> total)
The total Savings Plans utilization, regardless of time period.
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)
-
timePeriod
GetSavingsPlansUtilizationDetailsResponse.Builder timePeriod(DateInterval timePeriod)
Sets the value of the TimePeriod property for this object.- Parameters:
timePeriod- The new value for the TimePeriod property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
timePeriod
default GetSavingsPlansUtilizationDetailsResponse.Builder timePeriod(Consumer<DateInterval.Builder> timePeriod)
Sets the value of the TimePeriod property for this object. This is a convenience method that creates an instance of theDateInterval.Builderavoiding the need to create one manually viaDateInterval.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totimePeriod(DateInterval).- Parameters:
timePeriod- a consumer that will call methods onDateInterval.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
timePeriod(DateInterval)
-
nextToken
GetSavingsPlansUtilizationDetailsResponse.Builder nextToken(String nextToken)
The token to retrieve the next set of results. Amazon Web Services provides the token when the response from a previous call has more results than the maximum page size.
- Parameters:
nextToken- The token to retrieve the next set of results. Amazon Web Services provides the token when the response from a previous call has more results than the maximum page size.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-