Class ModernReservationRecommendationProperties


  • public final class ModernReservationRecommendationProperties
    extends Object
    The properties of the reservation recommendation.
    • Constructor Detail

      • ModernReservationRecommendationProperties

        public ModernReservationRecommendationProperties()
    • Method Detail

      • location

        public String location()
        Get the location property: Resource Location.
        Returns:
        the location value.
      • lookBackPeriod

        public Integer lookBackPeriod()
        Get the lookBackPeriod property: The number of days of usage to look back for recommendation.
        Returns:
        the lookBackPeriod value.
      • instanceFlexibilityRatio

        public Float instanceFlexibilityRatio()
        Get the instanceFlexibilityRatio property: The instance Flexibility Ratio.
        Returns:
        the instanceFlexibilityRatio value.
      • instanceFlexibilityGroup

        public String instanceFlexibilityGroup()
        Get the instanceFlexibilityGroup property: The instance Flexibility Group.
        Returns:
        the instanceFlexibilityGroup value.
      • normalizedSize

        public String normalizedSize()
        Get the normalizedSize property: The normalized Size.
        Returns:
        the normalizedSize value.
      • recommendedQuantityNormalized

        public Float recommendedQuantityNormalized()
        Get the recommendedQuantityNormalized property: The recommended Quantity Normalized.
        Returns:
        the recommendedQuantityNormalized value.
      • meterId

        public UUID meterId()
        Get the meterId property: The meter id (GUID).
        Returns:
        the meterId value.
      • term

        public String term()
        Get the term property: RI recommendations in one or three year terms.
        Returns:
        the term value.
      • costWithNoReservedInstances

        public Amount costWithNoReservedInstances()
        Get the costWithNoReservedInstances property: The total amount of cost without reserved instances.
        Returns:
        the costWithNoReservedInstances value.
      • recommendedQuantity

        public BigDecimal recommendedQuantity()
        Get the recommendedQuantity property: Recommended quality for reserved instances.
        Returns:
        the recommendedQuantity value.
      • totalCostWithReservedInstances

        public Amount totalCostWithReservedInstances()
        Get the totalCostWithReservedInstances property: The total amount of cost with reserved instances.
        Returns:
        the totalCostWithReservedInstances value.
      • netSavings

        public Amount netSavings()
        Get the netSavings property: Total estimated savings with reserved instances.
        Returns:
        the netSavings value.
      • firstUsageDate

        public OffsetDateTime firstUsageDate()
        Get the firstUsageDate property: The usage date for looking back.
        Returns:
        the firstUsageDate value.
      • scope

        public String scope()
        Get the scope property: Shared or single recommendation.
        Returns:
        the scope value.
      • skuProperties

        public List<SkuProperty> skuProperties()
        Get the skuProperties property: List of sku properties.
        Returns:
        the skuProperties value.
      • skuName

        public String skuName()
        Get the skuName property: This is the ARM Sku name.
        Returns:
        the skuName value.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.