Interface GetCostEstimationResponse.Builder
- All Superinterfaces:
- AwsResponse.Builder,- Buildable,- CopyableBuilder<GetCostEstimationResponse.Builder,,- GetCostEstimationResponse> - DevOpsGuruResponse.Builder,- SdkBuilder<GetCostEstimationResponse.Builder,,- GetCostEstimationResponse> - SdkPojo,- SdkResponse.Builder
- Enclosing class:
- GetCostEstimationResponse
- 
Method SummaryModifier and TypeMethodDescriptioncosts(Collection<ServiceResourceCost> costs) An array ofResourceCostobjects that each contains details about the monthly cost estimate to analyze one of your Amazon Web Services resources.costs(Consumer<ServiceResourceCost.Builder>... costs) An array ofResourceCostobjects that each contains details about the monthly cost estimate to analyze one of your Amazon Web Services resources.costs(ServiceResourceCost... costs) An array ofResourceCostobjects that each contains details about the monthly cost estimate to analyze one of your Amazon Web Services resources.The pagination token to use to retrieve the next page of results for this operation.resourceCollection(Consumer<CostEstimationResourceCollectionFilter.Builder> resourceCollection) The collection of the Amazon Web Services resources used to create your monthly DevOps Guru cost estimate.resourceCollection(CostEstimationResourceCollectionFilter resourceCollection) The collection of the Amazon Web Services resources used to create your monthly DevOps Guru cost estimate.The status of creating this cost estimate.status(CostEstimationStatus status) The status of creating this cost estimate.timeRange(Consumer<CostEstimationTimeRange.Builder> timeRange) The start and end time of the cost estimation.timeRange(CostEstimationTimeRange timeRange) The start and end time of the cost estimation.The estimated monthly cost to analyze the Amazon Web Services resources.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.services.devopsguru.model.DevOpsGuruResponse.Builderbuild, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.BuildersdkHttpResponse, sdkHttpResponse
- 
Method Details- 
resourceCollectionGetCostEstimationResponse.Builder resourceCollection(CostEstimationResourceCollectionFilter resourceCollection) The collection of the Amazon Web Services resources used to create your monthly DevOps Guru cost estimate. - Parameters:
- resourceCollection- The collection of the Amazon Web Services resources used to create your monthly DevOps Guru cost estimate.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
resourceCollectiondefault GetCostEstimationResponse.Builder resourceCollection(Consumer<CostEstimationResourceCollectionFilter.Builder> resourceCollection) The collection of the Amazon Web Services resources used to create your monthly DevOps Guru cost estimate. This is a convenience method that creates an instance of theCostEstimationResourceCollectionFilter.Builderavoiding the need to create one manually viaCostEstimationResourceCollectionFilter.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toresourceCollection(CostEstimationResourceCollectionFilter).- Parameters:
- resourceCollection- a consumer that will call methods on- CostEstimationResourceCollectionFilter.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
statusThe status of creating this cost estimate. If it's still in progress, the status ONGOINGis returned. If it is finished, the statusCOMPLETEDis returned.- Parameters:
- status- The status of creating this cost estimate. If it's still in progress, the status- ONGOINGis returned. If it is finished, the status- COMPLETEDis returned.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
statusThe status of creating this cost estimate. If it's still in progress, the status ONGOINGis returned. If it is finished, the statusCOMPLETEDis returned.- Parameters:
- status- The status of creating this cost estimate. If it's still in progress, the status- ONGOINGis returned. If it is finished, the status- COMPLETEDis returned.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
costsAn array of ResourceCostobjects that each contains details about the monthly cost estimate to analyze one of your Amazon Web Services resources.- Parameters:
- costs- An array of- ResourceCostobjects that each contains details about the monthly cost estimate to analyze one of your Amazon Web Services resources.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
costsAn array of ResourceCostobjects that each contains details about the monthly cost estimate to analyze one of your Amazon Web Services resources.- Parameters:
- costs- An array of- ResourceCostobjects that each contains details about the monthly cost estimate to analyze one of your Amazon Web Services resources.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
costsAn array of This is a convenience method that creates an instance of theResourceCostobjects that each contains details about the monthly cost estimate to analyze one of your Amazon Web Services resources.ServiceResourceCost.Builderavoiding the need to create one manually viaServiceResourceCost.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocosts(List<ServiceResourceCost>).- Parameters:
- costs- a consumer that will call methods on- ServiceResourceCost.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
timeRangeThe start and end time of the cost estimation. - Parameters:
- timeRange- The start and end time of the cost estimation.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
timeRangedefault GetCostEstimationResponse.Builder timeRange(Consumer<CostEstimationTimeRange.Builder> timeRange) The start and end time of the cost estimation. This is a convenience method that creates an instance of theCostEstimationTimeRange.Builderavoiding the need to create one manually viaCostEstimationTimeRange.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totimeRange(CostEstimationTimeRange).- Parameters:
- timeRange- a consumer that will call methods on- CostEstimationTimeRange.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
totalCostThe estimated monthly cost to analyze the Amazon Web Services resources. This value is the sum of the estimated costs to analyze each resource in the Costsobject in this response.- Parameters:
- totalCost- The estimated monthly cost to analyze the Amazon Web Services resources. This value is the sum of the estimated costs to analyze each resource in the- Costsobject in this response.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
nextTokenThe pagination token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null. - Parameters:
- nextToken- The pagination token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
 
-