Interface CreateBillEstimateResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,BcmPricingCalculatorResponse.Builder,Buildable,CopyableBuilder<CreateBillEstimateResponse.Builder,,CreateBillEstimateResponse> SdkBuilder<CreateBillEstimateResponse.Builder,,CreateBillEstimateResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
CreateBillEstimateResponse
-
Method Summary
Modifier and TypeMethodDescriptionbillInterval(Consumer<BillInterval.Builder> billInterval) The bill month start and end timestamp that was used to create the Bill estimate.billInterval(BillInterval billInterval) The bill month start and end timestamp that was used to create 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.costSummary(Consumer<BillEstimateCostSummary.Builder> costSummary) Returns summary-level cost information once a Bill estimate is successfully generated.costSummary(BillEstimateCostSummary costSummary) Returns summary-level cost information once a Bill estimate is successfully generated.The timestamp of when the Bill estimate create process was started (not when it successfully completed or failed).The timestamp of when the Bill estimate will expire.failureMessage(String failureMessage) This attribute provides the reason if a Bill estimate result generation fails.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 your newly created Bill estimate.The name of your newly created Bill estimate.The status of your newly created Bill estimate.status(BillEstimateStatus status) The status of your newly created 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 your newly created Bill estimate.
- Parameters:
id- The unique identifier of your newly created Bill estimate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of your newly created Bill estimate.
- Parameters:
name- The name of your newly created Bill estimate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The status of your newly created Bill estimate. Bill estimate creation can take anywhere between 8 to 12 hours. The status will allow you to identify when the Bill estimate is complete or has failed.
- Parameters:
status- The status of your newly created Bill estimate. Bill estimate creation can take anywhere between 8 to 12 hours. The status will allow you to identify when the Bill estimate is complete or has failed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of your newly created Bill estimate. Bill estimate creation can take anywhere between 8 to 12 hours. The status will allow you to identify when the Bill estimate is complete or has failed.
- Parameters:
status- The status of your newly created Bill estimate. Bill estimate creation can take anywhere between 8 to 12 hours. The status will allow you to identify when the Bill estimate is complete or has failed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
failureMessage
This attribute provides the reason if a Bill estimate result generation fails.
- Parameters:
failureMessage- This attribute provides the reason if a Bill estimate result generation fails.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
billInterval
The bill month start and end timestamp that was used to create the Bill estimate. This is set to the last complete anniversary bill month start and end timestamp.
- Parameters:
billInterval- The bill month start and end timestamp that was used to create the Bill estimate. This is set to the last complete anniversary bill month start and end timestamp.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
billInterval
default CreateBillEstimateResponse.Builder billInterval(Consumer<BillInterval.Builder> billInterval) The bill month start and end timestamp that was used to create the Bill estimate. This is set to the last complete anniversary bill month start and end timestamp.
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
Returns summary-level cost information once a Bill estimate is successfully generated. This summary includes: 1) the total cost difference, showing the pre-tax cost change for the consolidated billing family between the completed anniversary bill and the estimated bill, and 2) total cost differences per service, detailing the pre-tax cost of each service, comparing the completed anniversary bill to the estimated bill on a per-service basis.
- Parameters:
costSummary- Returns summary-level cost information once a Bill estimate is successfully generated. This summary includes: 1) the total cost difference, showing the pre-tax cost change for the consolidated billing family between the completed anniversary bill and the estimated bill, and 2) total cost differences per service, detailing the pre-tax cost of each service, comparing the completed anniversary bill to the estimated bill on a per-service basis.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
costSummary
default CreateBillEstimateResponse.Builder costSummary(Consumer<BillEstimateCostSummary.Builder> costSummary) Returns summary-level cost information once a Bill estimate is successfully generated. This summary includes: 1) the total cost difference, showing the pre-tax cost change for the consolidated billing family between the completed anniversary bill and the estimated bill, and 2) total cost differences per service, detailing the pre-tax cost of each service, comparing the completed anniversary bill to the estimated bill on a per-service basis.
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 of when the Bill estimate create process was started (not when it successfully completed or failed).
- Parameters:
createdAt- The timestamp of when the Bill estimate create process was started (not when it successfully completed or failed).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
expiresAt
The timestamp of when the Bill estimate will expire. A Bill estimate becomes inaccessible after expiration.
- Parameters:
expiresAt- The timestamp of when the Bill estimate will expire. A Bill estimate becomes inaccessible after expiration.- 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
CreateBillEstimateResponse.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
CreateBillEstimateResponse.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
CreateBillEstimateResponse.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.
-