Interface GetBillEstimateResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,BcmPricingCalculatorResponse.Builder,Buildable,CopyableBuilder<GetBillEstimateResponse.Builder,GetBillEstimateResponse>,SdkBuilder<GetBillEstimateResponse.Builder,GetBillEstimateResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetBillEstimateResponse
public static interface GetBillEstimateResponse.Builder extends BcmPricingCalculatorResponse.Builder, SdkPojo, CopyableBuilder<GetBillEstimateResponse.Builder,GetBillEstimateResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default GetBillEstimateResponse.BuilderbillInterval(Consumer<BillInterval.Builder> billInterval)The time period covered by the bill estimate.GetBillEstimateResponse.BuilderbillInterval(BillInterval billInterval)The time period covered by the bill estimate.default GetBillEstimateResponse.BuildercostSummary(Consumer<BillEstimateCostSummary.Builder> costSummary)A summary of the estimated costs.GetBillEstimateResponse.BuildercostSummary(BillEstimateCostSummary costSummary)A summary of the estimated costs.GetBillEstimateResponse.BuildercreatedAt(Instant createdAt)The timestamp when the bill estimate was created.GetBillEstimateResponse.BuilderexpiresAt(Instant expiresAt)The timestamp when the bill estimate will expire.GetBillEstimateResponse.BuilderfailureMessage(String failureMessage)An error message if the bill estimate retrieval failed.GetBillEstimateResponse.Builderid(String id)The unique identifier of the retrieved bill estimate.GetBillEstimateResponse.Buildername(String name)The name of the retrieved bill estimate.GetBillEstimateResponse.Builderstatus(String status)The current status of the bill estimate.GetBillEstimateResponse.Builderstatus(BillEstimateStatus status)The current status of the 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 Detail
-
id
GetBillEstimateResponse.Builder id(String id)
The unique identifier of the retrieved bill estimate.
- Parameters:
id- The unique identifier of the retrieved bill estimate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
GetBillEstimateResponse.Builder name(String name)
The name of the retrieved bill estimate.
- Parameters:
name- The name of the retrieved bill estimate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
GetBillEstimateResponse.Builder status(String status)
The current status of the bill estimate.
- Parameters:
status- The current status of the bill estimate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
BillEstimateStatus,BillEstimateStatus
-
status
GetBillEstimateResponse.Builder status(BillEstimateStatus status)
The current status of the bill estimate.
- Parameters:
status- The current status of the bill estimate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
BillEstimateStatus,BillEstimateStatus
-
failureMessage
GetBillEstimateResponse.Builder failureMessage(String failureMessage)
An error message if the bill estimate retrieval failed.
- Parameters:
failureMessage- An error message if the bill estimate retrieval failed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
billInterval
GetBillEstimateResponse.Builder billInterval(BillInterval billInterval)
The time period covered by the bill estimate.
- Parameters:
billInterval- The time period covered by the bill estimate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
billInterval
default GetBillEstimateResponse.Builder billInterval(Consumer<BillInterval.Builder> billInterval)
The time period covered by the bill estimate.
This is a convenience method that creates an instance of theBillInterval.Builderavoiding the need to create one manually viaBillInterval.builder().When the
Consumercompletes,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:
billInterval(BillInterval)
-
costSummary
GetBillEstimateResponse.Builder costSummary(BillEstimateCostSummary costSummary)
A summary of the estimated costs.
- Parameters:
costSummary- A summary of the estimated costs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
costSummary
default GetBillEstimateResponse.Builder costSummary(Consumer<BillEstimateCostSummary.Builder> costSummary)
A summary of the estimated costs.
This is a convenience method that creates an instance of theBillEstimateCostSummary.Builderavoiding the need to create one manually viaBillEstimateCostSummary.builder().When the
Consumercompletes,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:
costSummary(BillEstimateCostSummary)
-
createdAt
GetBillEstimateResponse.Builder createdAt(Instant createdAt)
The timestamp when the bill estimate was created.
- Parameters:
createdAt- The timestamp when the bill estimate was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
expiresAt
GetBillEstimateResponse.Builder expiresAt(Instant expiresAt)
The timestamp when the bill estimate will expire.
- Parameters:
expiresAt- The timestamp when the bill estimate will expire.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-