Class EstimateCostSavingSummary.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • timeStarted

        public EstimateCostSavingSummary.Builder timeStarted​(Date timeStarted)
        The epoch time at which cost aggregation starts.
        Parameters:
        timeStarted - the value to set
        Returns:
        this builder
      • timeEnded

        public EstimateCostSavingSummary.Builder timeEnded​(Date timeEnded)
        The epoch time at which cost aggregation ends.
        Parameters:
        timeEnded - the value to set
        Returns:
        this builder
      • isCpuAutoscale

        public EstimateCostSavingSummary.Builder isCpuAutoscale​(Boolean isCpuAutoscale)
        Indicates if CPU autoscaling is applied.
        Parameters:
        isCpuAutoscale - the value to set
        Returns:
        this builder
      • estimatedUsageWithoutElasticPool

        public EstimateCostSavingSummary.Builder estimatedUsageWithoutElasticPool​(Long estimatedUsageWithoutElasticPool)
        CPU cost for a given time period under regular billing plan, in ECPU hours.
        Parameters:
        estimatedUsageWithoutElasticPool - the value to set
        Returns:
        this builder
      • usageWithElasticPool

        public EstimateCostSavingSummary.Builder usageWithElasticPool​(Long usageWithElasticPool)
        CPU cost for a given time period under elastic pool billing plan, in ECPU hours.
        Parameters:
        usageWithElasticPool - the value to set
        Returns:
        this builder
      • costSavingsWithElasticPool

        public EstimateCostSavingSummary.Builder costSavingsWithElasticPool​(Double costSavingsWithElasticPool)
        Estimated cost savings in percentage with elastic pool utilization.
        Parameters:
        costSavingsWithElasticPool - the value to set
        Returns:
        this builder