Interface UpdateBillEstimateResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,BcmPricingCalculatorResponse.Builder
,Buildable
,CopyableBuilder<UpdateBillEstimateResponse.Builder,
,UpdateBillEstimateResponse> SdkBuilder<UpdateBillEstimateResponse.Builder,
,UpdateBillEstimateResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
UpdateBillEstimateResponse
-
Method Summary
Modifier and TypeMethodDescriptionbillInterval
(Consumer<BillInterval.Builder> billInterval) The time period covered by the updated bill estimate.billInterval
(BillInterval billInterval) The time period covered by the updated bill estimate.costSummary
(Consumer<BillEstimateCostSummary.Builder> costSummary) A summary of the updated estimated costs.costSummary
(BillEstimateCostSummary costSummary) A summary of the updated estimated costs.The timestamp when the bill estimate was originally created.The updated expiration timestamp for the bill estimate.failureMessage
(String failureMessage) An error message if the bill estimate update failed.The unique identifier of the updated bill estimate.The updated name of the bill estimate.The current status of the updated bill estimate.status
(BillEstimateStatus status) The current status of the updated bill estimate.Methods inherited from interface software.amazon.awssdk.services.bcmpricingcalculator.model.BcmPricingCalculatorResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
id
The unique identifier of the updated bill estimate.
- Parameters:
id
- The unique identifier of the updated bill estimate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The updated name of the bill estimate.
- Parameters:
name
- The updated name of the bill estimate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The current status of the updated bill estimate.
- Parameters:
status
- The current status of the updated bill estimate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The current status of the updated bill estimate.
- Parameters:
status
- The current status of the updated bill estimate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
failureMessage
An error message if the bill estimate update failed.
- Parameters:
failureMessage
- An error message if the bill estimate update failed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
billInterval
The time period covered by the updated bill estimate.
- Parameters:
billInterval
- The time period covered by the updated bill estimate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
billInterval
default UpdateBillEstimateResponse.Builder billInterval(Consumer<BillInterval.Builder> billInterval) The time period covered by the updated bill estimate.
This is a convenience method that creates an instance of theBillInterval.Builder
avoiding the need to create one manually viaBillInterval.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tobillInterval(BillInterval)
.- Parameters:
billInterval
- a consumer that will call methods onBillInterval.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
costSummary
A summary of the updated estimated costs.
- Parameters:
costSummary
- A summary of the updated estimated costs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
costSummary
default UpdateBillEstimateResponse.Builder costSummary(Consumer<BillEstimateCostSummary.Builder> costSummary) A summary of the updated estimated costs.
This is a convenience method that creates an instance of theBillEstimateCostSummary.Builder
avoiding the need to create one manually viaBillEstimateCostSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocostSummary(BillEstimateCostSummary)
.- Parameters:
costSummary
- a consumer that will call methods onBillEstimateCostSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
createdAt
The timestamp when the bill estimate was originally created.
- Parameters:
createdAt
- The timestamp when the bill estimate was originally created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
expiresAt
The updated expiration timestamp for the bill estimate.
- Parameters:
expiresAt
- The updated expiration timestamp for the bill estimate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-