Interface ResourcePricing.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ResourcePricing.Builder,ResourcePricing>,SdkBuilder<ResourcePricing.Builder,ResourcePricing>,SdkPojo
- Enclosing class:
- ResourcePricing
public static interface ResourcePricing.Builder extends SdkPojo, CopyableBuilder<ResourcePricing.Builder,ResourcePricing>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ResourcePricing.BuilderestimatedCostAfterDiscounts(Double estimatedCostAfterDiscounts)The savings estimate incorporating all discounts with Amazon Web Services, such as Reserved Instances and Savings Plans.ResourcePricing.BuilderestimatedCostBeforeDiscounts(Double estimatedCostBeforeDiscounts)The savings estimate using Amazon Web Services public pricing without incorporating any discounts.default ResourcePricing.BuilderestimatedDiscounts(Consumer<EstimatedDiscounts.Builder> estimatedDiscounts)The estimated discounts for a recommendation.ResourcePricing.BuilderestimatedDiscounts(EstimatedDiscounts estimatedDiscounts)The estimated discounts for a recommendation.ResourcePricing.BuilderestimatedNetUnusedAmortizedCommitments(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 Detail
-
estimatedCostBeforeDiscounts
ResourcePricing.Builder estimatedCostBeforeDiscounts(Double 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
ResourcePricing.Builder estimatedDiscounts(EstimatedDiscounts 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.Builderavoiding the need to create one manually viaEstimatedDiscounts.builder().When the
Consumercompletes,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:
estimatedDiscounts(EstimatedDiscounts)
-
estimatedCostAfterDiscounts
ResourcePricing.Builder estimatedCostAfterDiscounts(Double 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.
-
-