public static interface GetCostEstimationResponse.Builder extends DevOpsGuruResponse.Builder, SdkPojo, CopyableBuilder<GetCostEstimationResponse.Builder,GetCostEstimationResponse>
| Modifier and Type | Method and Description |
|---|---|
GetCostEstimationResponse.Builder |
costs(Collection<ServiceResourceCost> costs)
An array of
ResourceCost objects that each contains details about the monthly cost estimate to
analyze one of your Amazon Web Services resources. |
GetCostEstimationResponse.Builder |
costs(Consumer<ServiceResourceCost.Builder>... costs)
An array of
ResourceCost objects that each contains details about the monthly cost estimate to
analyze one of your Amazon Web Services resources. |
GetCostEstimationResponse.Builder |
costs(ServiceResourceCost... costs)
An array of
ResourceCost objects that each contains details about the monthly cost estimate to
analyze one of your Amazon Web Services resources. |
GetCostEstimationResponse.Builder |
nextToken(String nextToken)
The pagination token to use to retrieve the next page of results for this operation.
|
default GetCostEstimationResponse.Builder |
resourceCollection(Consumer<CostEstimationResourceCollectionFilter.Builder> resourceCollection)
The collection of the Amazon Web Services resources used to create your monthly DevOps Guru cost estimate.
|
GetCostEstimationResponse.Builder |
resourceCollection(CostEstimationResourceCollectionFilter resourceCollection)
The collection of the Amazon Web Services resources used to create your monthly DevOps Guru cost estimate.
|
GetCostEstimationResponse.Builder |
status(CostEstimationStatus status)
The status of creating this cost estimate.
|
GetCostEstimationResponse.Builder |
status(String status)
The status of creating this cost estimate.
|
default GetCostEstimationResponse.Builder |
timeRange(Consumer<CostEstimationTimeRange.Builder> timeRange)
The start and end time of the cost estimation.
|
GetCostEstimationResponse.Builder |
timeRange(CostEstimationTimeRange timeRange)
The start and end time of the cost estimation.
|
GetCostEstimationResponse.Builder |
totalCost(Double totalCost)
The estimated monthly cost to analyze the Amazon Web Services resources.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildGetCostEstimationResponse.Builder resourceCollection(CostEstimationResourceCollectionFilter resourceCollection)
The collection of the Amazon Web Services resources used to create your monthly DevOps Guru cost estimate.
resourceCollection - The collection of the Amazon Web Services resources used to create your monthly DevOps Guru cost
estimate.default 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.Builder avoiding the need to create one manually via
CostEstimationResourceCollectionFilter.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to resourceCollection(CostEstimationResourceCollectionFilter).
resourceCollection - a consumer that will call methods on CostEstimationResourceCollectionFilter.BuilderresourceCollection(CostEstimationResourceCollectionFilter)GetCostEstimationResponse.Builder status(String status)
The status of creating this cost estimate. If it's still in progress, the status ONGOING is
returned. If it is finished, the status COMPLETED is returned.
status - The status of creating this cost estimate. If it's still in progress, the status ONGOING
is returned. If it is finished, the status COMPLETED is returned.CostEstimationStatus,
CostEstimationStatusGetCostEstimationResponse.Builder status(CostEstimationStatus status)
The status of creating this cost estimate. If it's still in progress, the status ONGOING is
returned. If it is finished, the status COMPLETED is returned.
status - The status of creating this cost estimate. If it's still in progress, the status ONGOING
is returned. If it is finished, the status COMPLETED is returned.CostEstimationStatus,
CostEstimationStatusGetCostEstimationResponse.Builder costs(Collection<ServiceResourceCost> costs)
An array of ResourceCost objects that each contains details about the monthly cost estimate to
analyze one of your Amazon Web Services resources.
costs - An array of ResourceCost objects that each contains details about the monthly cost
estimate to analyze one of your Amazon Web Services resources.GetCostEstimationResponse.Builder costs(ServiceResourceCost... costs)
An array of ResourceCost objects that each contains details about the monthly cost estimate to
analyze one of your Amazon Web Services resources.
costs - An array of ResourceCost objects that each contains details about the monthly cost
estimate to analyze one of your Amazon Web Services resources.GetCostEstimationResponse.Builder costs(Consumer<ServiceResourceCost.Builder>... costs)
An array of ResourceCost objects that each contains details about the monthly cost estimate to
analyze one of your Amazon Web Services resources.
ServiceResourceCost.Builder avoiding the need to
create one manually via
ServiceResourceCost.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #costs(List.
costs - a consumer that will call methods on
ServiceResourceCost.Builder#costs(java.util.Collection) GetCostEstimationResponse.Builder timeRange(CostEstimationTimeRange timeRange)
The start and end time of the cost estimation.
timeRange - The start and end time of the cost estimation.default 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.Builder avoiding
the need to create one manually via CostEstimationTimeRange.builder().
When the Consumer completes, SdkBuilder.build() is called immediately
and its result is passed to timeRange(CostEstimationTimeRange).
timeRange - a consumer that will call methods on CostEstimationTimeRange.BuildertimeRange(CostEstimationTimeRange)GetCostEstimationResponse.Builder totalCost(Double 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 Costs object in this response.
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 Costs object in this response.GetCostEstimationResponse.Builder nextToken(String 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.
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.Copyright © 2023. All rights reserved.