Interface GetBillEstimateResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,BcmPricingCalculatorResponse.Builder,Buildable,CopyableBuilder<GetBillEstimateResponse.Builder,,GetBillEstimateResponse> SdkBuilder<GetBillEstimateResponse.Builder,,GetBillEstimateResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetBillEstimateResponse
-
Method Summary
Modifier and TypeMethodDescriptiondefault GetBillEstimateResponse.BuilderbillInterval(Consumer<BillInterval.Builder> billInterval) The time period covered by the bill estimate.billInterval(BillInterval billInterval) The time period covered by the bill estimate.costCategoryGroupSharingPreferenceArn(String costCategoryGroupSharingPreferenceArn) The arn of the cost category used in the reserved and prioritized group sharing.costCategoryGroupSharingPreferenceEffectiveDate(Instant costCategoryGroupSharingPreferenceEffectiveDate) Timestamp of the effective date of the cost category used in the group sharing settings.default GetBillEstimateResponse.BuildercostSummary(Consumer<BillEstimateCostSummary.Builder> costSummary) A summary of the estimated costs.costSummary(BillEstimateCostSummary costSummary) A summary of the estimated costs.The timestamp when the bill estimate was created.The timestamp when the bill estimate will expire.failureMessage(String failureMessage) An error message if the bill estimate retrieval failed.groupSharingPreference(String groupSharingPreference) The setting for the reserved instance and savings plan group sharing used in this estimate.groupSharingPreference(GroupSharingPreferenceEnum groupSharingPreference) The setting for the reserved instance and savings plan group sharing used in this estimate.The unique identifier of the retrieved bill estimate.The name of the retrieved bill estimate.The current status of the bill estimate.status(BillEstimateStatus status) The current status of the bill estimate.Methods inherited from interface software.amazon.awssdk.services.bcmpricingcalculator.model.BcmPricingCalculatorResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
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
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
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:
-
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:
-
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
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
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:
-
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:
-
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
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.
-
groupSharingPreference
The setting for the reserved instance and savings plan group sharing used in this estimate.
- Parameters:
groupSharingPreference- The setting for the reserved instance and savings plan group sharing used in this estimate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
groupSharingPreference
GetBillEstimateResponse.Builder groupSharingPreference(GroupSharingPreferenceEnum groupSharingPreference) The setting for the reserved instance and savings plan group sharing used in this estimate.
- Parameters:
groupSharingPreference- The setting for the reserved instance and savings plan group sharing used in this estimate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
costCategoryGroupSharingPreferenceArn
GetBillEstimateResponse.Builder costCategoryGroupSharingPreferenceArn(String costCategoryGroupSharingPreferenceArn) The arn of the cost category used in the reserved and prioritized group sharing.
- Parameters:
costCategoryGroupSharingPreferenceArn- The arn of the cost category used in the reserved and prioritized group sharing.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
costCategoryGroupSharingPreferenceEffectiveDate
GetBillEstimateResponse.Builder costCategoryGroupSharingPreferenceEffectiveDate(Instant costCategoryGroupSharingPreferenceEffectiveDate) Timestamp of the effective date of the cost category used in the group sharing settings.
- Parameters:
costCategoryGroupSharingPreferenceEffectiveDate- Timestamp of the effective date of the cost category used in the group sharing settings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-