Interface GetCostEstimationResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetCostEstimationResponse.Builder,GetCostEstimationResponse>,DevOpsGuruResponse.Builder,SdkBuilder<GetCostEstimationResponse.Builder,GetCostEstimationResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetCostEstimationResponse
public static interface GetCostEstimationResponse.Builder extends DevOpsGuruResponse.Builder, SdkPojo, CopyableBuilder<GetCostEstimationResponse.Builder,GetCostEstimationResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description GetCostEstimationResponse.Buildercosts(Collection<ServiceResourceCost> costs)An array ofResourceCostobjects that each contains details about the monthly cost estimate to analyze one of your Amazon Web Services resources.GetCostEstimationResponse.Buildercosts(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.GetCostEstimationResponse.Buildercosts(ServiceResourceCost... costs)An array ofResourceCostobjects that each contains details about the monthly cost estimate to analyze one of your Amazon Web Services resources.GetCostEstimationResponse.BuildernextToken(String nextToken)The pagination token to use to retrieve the next page of results for this operation.default GetCostEstimationResponse.BuilderresourceCollection(Consumer<CostEstimationResourceCollectionFilter.Builder> resourceCollection)The collection of the Amazon Web Services resources used to create your monthly DevOps Guru cost estimate.GetCostEstimationResponse.BuilderresourceCollection(CostEstimationResourceCollectionFilter resourceCollection)The collection of the Amazon Web Services resources used to create your monthly DevOps Guru cost estimate.GetCostEstimationResponse.Builderstatus(String status)The status of creating this cost estimate.GetCostEstimationResponse.Builderstatus(CostEstimationStatus status)The status of creating this cost estimate.default GetCostEstimationResponse.BuildertimeRange(Consumer<CostEstimationTimeRange.Builder> timeRange)The start and end time of the cost estimation.GetCostEstimationResponse.BuildertimeRange(CostEstimationTimeRange timeRange)The start and end time of the cost estimation.GetCostEstimationResponse.BuildertotalCost(Double totalCost)The estimated monthly cost to analyze the Amazon Web Services resources.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.devopsguru.model.DevOpsGuruResponse.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
-
resourceCollection
GetCostEstimationResponse.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.
-
resourceCollection
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.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 onCostEstimationResourceCollectionFilter.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
resourceCollection(CostEstimationResourceCollectionFilter)
-
status
GetCostEstimationResponse.Builder status(String status)
The 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 statusONGOINGis returned. If it is finished, the statusCOMPLETEDis returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
CostEstimationStatus,CostEstimationStatus
-
status
GetCostEstimationResponse.Builder status(CostEstimationStatus status)
The 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 statusONGOINGis returned. If it is finished, the statusCOMPLETEDis returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
CostEstimationStatus,CostEstimationStatus
-
costs
GetCostEstimationResponse.Builder costs(Collection<ServiceResourceCost> costs)
An 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 ofResourceCostobjects 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.
-
costs
GetCostEstimationResponse.Builder costs(ServiceResourceCost... costs)
An 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 ofResourceCostobjects 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.
-
costs
GetCostEstimationResponse.Builder costs(Consumer<ServiceResourceCost.Builder>... costs)
An 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 to#costs(List.) - Parameters:
costs- a consumer that will call methods onServiceResourceCost.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#costs(java.util.Collection)
-
timeRange
GetCostEstimationResponse.Builder timeRange(CostEstimationTimeRange timeRange)
The 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.
-
timeRange
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.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 onCostEstimationTimeRange.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
timeRange(CostEstimationTimeRange)
-
totalCost
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
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 theCostsobject in this response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
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.
- 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.
-
-