Interface ResourcePricing.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ResourcePricing.Builder,
,ResourcePricing> SdkBuilder<ResourcePricing.Builder,
,ResourcePricing> SdkPojo
- Enclosing class:
ResourcePricing
@Mutable
@NotThreadSafe
public static interface ResourcePricing.Builder
extends SdkPojo, CopyableBuilder<ResourcePricing.Builder,ResourcePricing>
-
Method Summary
Modifier and TypeMethodDescriptionestimatedCostAfterDiscounts
(Double estimatedCostAfterDiscounts) The savings estimate incorporating all discounts with Amazon Web Services, such as Reserved Instances and Savings Plans.estimatedCostBeforeDiscounts
(Double estimatedCostBeforeDiscounts) The savings estimate using Amazon Web Services public pricing without incorporating any discounts.default ResourcePricing.Builder
estimatedDiscounts
(Consumer<EstimatedDiscounts.Builder> estimatedDiscounts) The estimated discounts for a recommendation.estimatedDiscounts
(EstimatedDiscounts estimatedDiscounts) The estimated discounts for a recommendation.estimatedNetUnusedAmortizedCommitments
(Double estimatedNetUnusedAmortizedCommitments) The estimated net unused amortized commitment for the recommendation.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
-
Method Details
-
estimatedCostBeforeDiscounts
The savings estimate using Amazon Web Services public pricing without incorporating any discounts.
- Parameters:
estimatedCostBeforeDiscounts
- The savings estimate using Amazon Web Services public pricing without incorporating any discounts.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
estimatedNetUnusedAmortizedCommitments
ResourcePricing.Builder estimatedNetUnusedAmortizedCommitments(Double estimatedNetUnusedAmortizedCommitments) The estimated net unused amortized commitment for the recommendation.
- Parameters:
estimatedNetUnusedAmortizedCommitments
- The estimated net unused amortized commitment for the recommendation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
estimatedDiscounts
The estimated discounts for a recommendation.
- Parameters:
estimatedDiscounts
- The estimated discounts for a recommendation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
estimatedDiscounts
default ResourcePricing.Builder estimatedDiscounts(Consumer<EstimatedDiscounts.Builder> estimatedDiscounts) The estimated discounts for a recommendation.
This is a convenience method that creates an instance of theEstimatedDiscounts.Builder
avoiding the need to create one manually viaEstimatedDiscounts.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toestimatedDiscounts(EstimatedDiscounts)
.- Parameters:
estimatedDiscounts
- a consumer that will call methods onEstimatedDiscounts.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
estimatedCostAfterDiscounts
The savings estimate incorporating all discounts with Amazon Web Services, such as Reserved Instances and Savings Plans.
- Parameters:
estimatedCostAfterDiscounts
- The savings estimate incorporating all discounts with Amazon Web Services, such as Reserved Instances and Savings Plans.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-