Class RecommendedElasticPoolMetricInner


  • public final class RecommendedElasticPoolMetricInner
    extends Object
    Represents recommended elastic pool metric.
    • Constructor Detail

      • RecommendedElasticPoolMetricInner

        public RecommendedElasticPoolMetricInner()
    • Method Detail

      • dateTime

        public OffsetDateTime dateTime()
        Get the dateTime property: The time of metric (ISO8601 format).
        Returns:
        the dateTime value.
      • withDateTime

        public RecommendedElasticPoolMetricInner withDateTime​(OffsetDateTime dateTime)
        Set the dateTime property: The time of metric (ISO8601 format).
        Parameters:
        dateTime - the dateTime value to set.
        Returns:
        the RecommendedElasticPoolMetricInner object itself.
      • dtu

        public Double dtu()
        Get the dtu property: Gets or sets the DTUs (Database Transaction Units). See https://azure.microsoft.com/documentation/articles/sql-database-what-is-a-dtu/.
        Returns:
        the dtu value.
      • withDtu

        public RecommendedElasticPoolMetricInner withDtu​(Double dtu)
        Set the dtu property: Gets or sets the DTUs (Database Transaction Units). See https://azure.microsoft.com/documentation/articles/sql-database-what-is-a-dtu/.
        Parameters:
        dtu - the dtu value to set.
        Returns:
        the RecommendedElasticPoolMetricInner object itself.
      • sizeGB

        public Double sizeGB()
        Get the sizeGB property: Gets or sets size in gigabytes.
        Returns:
        the sizeGB value.
      • withSizeGB

        public RecommendedElasticPoolMetricInner withSizeGB​(Double sizeGB)
        Set the sizeGB property: Gets or sets size in gigabytes.
        Parameters:
        sizeGB - the sizeGB value to set.
        Returns:
        the RecommendedElasticPoolMetricInner object itself.
      • validate

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