Class ReservationRecommendationDetailsUsageProperties


  • public final class ReservationRecommendationDetailsUsageProperties
    extends Object
    Details about historical usage data that has been used for computing the recommendation.
    • Constructor Detail

      • ReservationRecommendationDetailsUsageProperties

        public ReservationRecommendationDetailsUsageProperties()
    • Method Detail

      • firstConsumptionDate

        public String firstConsumptionDate()
        Get the firstConsumptionDate property: The first usage date used for looking back for computing the recommendation.
        Returns:
        the firstConsumptionDate value.
      • lastConsumptionDate

        public String lastConsumptionDate()
        Get the lastConsumptionDate property: The last usage date used for looking back for computing the recommendation.
        Returns:
        the lastConsumptionDate value.
      • lookBackUnitType

        public String lookBackUnitType()
        Get the lookBackUnitType property: What the usage data values represent ex: virtual machine instance.
        Returns:
        the lookBackUnitType value.
      • usageData

        public List<Float> usageData()
        Get the usageData property: The breakdown of historical resource usage. The values are in the order of usage between the firstConsumptionDate and the lastConsumptionDate.
        Returns:
        the usageData value.
      • usageGrain

        public String usageGrain()
        Get the usageGrain property: The grain of the values represented in the usage data ex: hourly.
        Returns:
        the usageGrain value.
      • validate

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