Interface ReservationPurchaseRecommendationDetail.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ReservationPurchaseRecommendationDetail.Builder,
,ReservationPurchaseRecommendationDetail> SdkBuilder<ReservationPurchaseRecommendationDetail.Builder,
,ReservationPurchaseRecommendationDetail> SdkPojo
- Enclosing class:
ReservationPurchaseRecommendationDetail
-
Method Summary
Modifier and TypeMethodDescriptionThe account that this Reserved Instance (RI) recommendation is for.averageNormalizedUnitsUsedPerHour
(String averageNormalizedUnitsUsedPerHour) The average number of normalized units that you used in an hour during the historical period.averageNumberOfInstancesUsedPerHour
(String averageNumberOfInstancesUsedPerHour) The average number of instances that you used in an hour during the historical period.averageUtilization
(String averageUtilization) The average utilization of your instances.currencyCode
(String currencyCode) The currency code that Amazon Web Services used to calculate the costs for this instance.estimatedBreakEvenInMonths
(String estimatedBreakEvenInMonths) How long Amazon Web Services estimates that it takes for this instance to start saving you money, in months.estimatedMonthlyOnDemandCost
(String estimatedMonthlyOnDemandCost) How much Amazon Web Services estimates that you spend on On-Demand Instances in a month.estimatedMonthlySavingsAmount
(String estimatedMonthlySavingsAmount) How much Amazon Web Services estimates that this specific recommendation might save you in a month.estimatedMonthlySavingsPercentage
(String estimatedMonthlySavingsPercentage) How much Amazon Web Services estimates that this specific recommendation might save you in a month, as a percentage of your overall costs.estimatedReservationCostForLookbackPeriod
(String estimatedReservationCostForLookbackPeriod) How much Amazon Web Services estimates that you might spend for all usage during the specified historical period if you had a reservation.instanceDetails
(Consumer<InstanceDetails.Builder> instanceDetails) Details about the reservations that Amazon Web Services recommends that you purchase.instanceDetails
(InstanceDetails instanceDetails) Details about the reservations that Amazon Web Services recommends that you purchase.maximumNormalizedUnitsUsedPerHour
(String maximumNormalizedUnitsUsedPerHour) The maximum number of normalized units that you used in an hour during the historical period.maximumNumberOfInstancesUsedPerHour
(String maximumNumberOfInstancesUsedPerHour) The maximum number of instances that you used in an hour during the historical period.minimumNormalizedUnitsUsedPerHour
(String minimumNormalizedUnitsUsedPerHour) The minimum number of normalized units that you used in an hour during the historical period.minimumNumberOfInstancesUsedPerHour
(String minimumNumberOfInstancesUsedPerHour) The minimum number of instances that you used in an hour during the historical period.recommendedNormalizedUnitsToPurchase
(String recommendedNormalizedUnitsToPurchase) The number of normalized units that Amazon Web Services recommends that you purchase.recommendedNumberOfInstancesToPurchase
(String recommendedNumberOfInstancesToPurchase) The number of instances that Amazon Web Services recommends that you purchase.recurringStandardMonthlyCost
(String recurringStandardMonthlyCost) How much purchasing this instance costs you on a monthly basis.upfrontCost
(String upfrontCost) How much purchasing this instance costs you upfront.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, sdkFields
-
Method Details
-
accountId
The account that this Reserved Instance (RI) recommendation is for.
- Parameters:
accountId
- The account that this Reserved Instance (RI) recommendation is for.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceDetails
Details about the reservations that Amazon Web Services recommends that you purchase.
- Parameters:
instanceDetails
- Details about the reservations that Amazon Web Services recommends that you purchase.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceDetails
default ReservationPurchaseRecommendationDetail.Builder instanceDetails(Consumer<InstanceDetails.Builder> instanceDetails) Details about the reservations that Amazon Web Services recommends that you purchase.
This is a convenience method that creates an instance of theInstanceDetails.Builder
avoiding the need to create one manually viaInstanceDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toinstanceDetails(InstanceDetails)
.- Parameters:
instanceDetails
- a consumer that will call methods onInstanceDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
recommendedNumberOfInstancesToPurchase
ReservationPurchaseRecommendationDetail.Builder recommendedNumberOfInstancesToPurchase(String recommendedNumberOfInstancesToPurchase) The number of instances that Amazon Web Services recommends that you purchase.
- Parameters:
recommendedNumberOfInstancesToPurchase
- The number of instances that Amazon Web Services recommends that you purchase.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recommendedNormalizedUnitsToPurchase
ReservationPurchaseRecommendationDetail.Builder recommendedNormalizedUnitsToPurchase(String recommendedNormalizedUnitsToPurchase) The number of normalized units that Amazon Web Services recommends that you purchase.
- Parameters:
recommendedNormalizedUnitsToPurchase
- The number of normalized units that Amazon Web Services recommends that you purchase.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
minimumNumberOfInstancesUsedPerHour
ReservationPurchaseRecommendationDetail.Builder minimumNumberOfInstancesUsedPerHour(String minimumNumberOfInstancesUsedPerHour) The minimum number of instances that you used in an hour during the historical period. Amazon Web Services uses this to calculate your recommended reservation purchases.
- Parameters:
minimumNumberOfInstancesUsedPerHour
- The minimum number of instances that you used in an hour during the historical period. Amazon Web Services uses this to calculate your recommended reservation purchases.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
minimumNormalizedUnitsUsedPerHour
ReservationPurchaseRecommendationDetail.Builder minimumNormalizedUnitsUsedPerHour(String minimumNormalizedUnitsUsedPerHour) The minimum number of normalized units that you used in an hour during the historical period. Amazon Web Services uses this to calculate your recommended reservation purchases.
- Parameters:
minimumNormalizedUnitsUsedPerHour
- The minimum number of normalized units that you used in an hour during the historical period. Amazon Web Services uses this to calculate your recommended reservation purchases.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maximumNumberOfInstancesUsedPerHour
ReservationPurchaseRecommendationDetail.Builder maximumNumberOfInstancesUsedPerHour(String maximumNumberOfInstancesUsedPerHour) The maximum number of instances that you used in an hour during the historical period. Amazon Web Services uses this to calculate your recommended reservation purchases.
- Parameters:
maximumNumberOfInstancesUsedPerHour
- The maximum number of instances that you used in an hour during the historical period. Amazon Web Services uses this to calculate your recommended reservation purchases.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maximumNormalizedUnitsUsedPerHour
ReservationPurchaseRecommendationDetail.Builder maximumNormalizedUnitsUsedPerHour(String maximumNormalizedUnitsUsedPerHour) The maximum number of normalized units that you used in an hour during the historical period. Amazon Web Services uses this to calculate your recommended reservation purchases.
- Parameters:
maximumNormalizedUnitsUsedPerHour
- The maximum number of normalized units that you used in an hour during the historical period. Amazon Web Services uses this to calculate your recommended reservation purchases.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
averageNumberOfInstancesUsedPerHour
ReservationPurchaseRecommendationDetail.Builder averageNumberOfInstancesUsedPerHour(String averageNumberOfInstancesUsedPerHour) The average number of instances that you used in an hour during the historical period. Amazon Web Services uses this to calculate your recommended reservation purchases.
- Parameters:
averageNumberOfInstancesUsedPerHour
- The average number of instances that you used in an hour during the historical period. Amazon Web Services uses this to calculate your recommended reservation purchases.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
averageNormalizedUnitsUsedPerHour
ReservationPurchaseRecommendationDetail.Builder averageNormalizedUnitsUsedPerHour(String averageNormalizedUnitsUsedPerHour) The average number of normalized units that you used in an hour during the historical period. Amazon Web Services uses this to calculate your recommended reservation purchases.
- Parameters:
averageNormalizedUnitsUsedPerHour
- The average number of normalized units that you used in an hour during the historical period. Amazon Web Services uses this to calculate your recommended reservation purchases.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
averageUtilization
The average utilization of your instances. Amazon Web Services uses this to calculate your recommended reservation purchases.
- Parameters:
averageUtilization
- The average utilization of your instances. Amazon Web Services uses this to calculate your recommended reservation purchases.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
estimatedBreakEvenInMonths
ReservationPurchaseRecommendationDetail.Builder estimatedBreakEvenInMonths(String estimatedBreakEvenInMonths) How long Amazon Web Services estimates that it takes for this instance to start saving you money, in months.
- Parameters:
estimatedBreakEvenInMonths
- How long Amazon Web Services estimates that it takes for this instance to start saving you money, in months.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
currencyCode
The currency code that Amazon Web Services used to calculate the costs for this instance.
- Parameters:
currencyCode
- The currency code that Amazon Web Services used to calculate the costs for this instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
estimatedMonthlySavingsAmount
ReservationPurchaseRecommendationDetail.Builder estimatedMonthlySavingsAmount(String estimatedMonthlySavingsAmount) How much Amazon Web Services estimates that this specific recommendation might save you in a month.
- Parameters:
estimatedMonthlySavingsAmount
- How much Amazon Web Services estimates that this specific recommendation might save you in a month.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
estimatedMonthlySavingsPercentage
ReservationPurchaseRecommendationDetail.Builder estimatedMonthlySavingsPercentage(String estimatedMonthlySavingsPercentage) How much Amazon Web Services estimates that this specific recommendation might save you in a month, as a percentage of your overall costs.
- Parameters:
estimatedMonthlySavingsPercentage
- How much Amazon Web Services estimates that this specific recommendation might save you in a month, as a percentage of your overall costs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
estimatedMonthlyOnDemandCost
ReservationPurchaseRecommendationDetail.Builder estimatedMonthlyOnDemandCost(String estimatedMonthlyOnDemandCost) How much Amazon Web Services estimates that you spend on On-Demand Instances in a month.
- Parameters:
estimatedMonthlyOnDemandCost
- How much Amazon Web Services estimates that you spend on On-Demand Instances in a month.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
estimatedReservationCostForLookbackPeriod
ReservationPurchaseRecommendationDetail.Builder estimatedReservationCostForLookbackPeriod(String estimatedReservationCostForLookbackPeriod) How much Amazon Web Services estimates that you might spend for all usage during the specified historical period if you had a reservation.
- Parameters:
estimatedReservationCostForLookbackPeriod
- How much Amazon Web Services estimates that you might spend for all usage during the specified historical period if you had a reservation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
upfrontCost
How much purchasing this instance costs you upfront.
- Parameters:
upfrontCost
- How much purchasing this instance costs you upfront.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recurringStandardMonthlyCost
ReservationPurchaseRecommendationDetail.Builder recurringStandardMonthlyCost(String recurringStandardMonthlyCost) How much purchasing this instance costs you on a monthly basis.
- Parameters:
recurringStandardMonthlyCost
- How much purchasing this instance costs you on a monthly basis.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-