Class RecommendedElasticPoolMetricInner
- java.lang.Object
-
- com.azure.resourcemanager.sql.fluent.models.RecommendedElasticPoolMetricInner
-
public final class RecommendedElasticPoolMetricInner extends Object
Represents recommended elastic pool metric.
-
-
Constructor Summary
Constructors Constructor Description RecommendedElasticPoolMetricInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OffsetDateTimedateTime()Get the dateTime property: The time of metric (ISO8601 format).Doubledtu()Get the dtu property: Gets or sets the DTUs (Database Transaction Units).DoublesizeGB()Get the sizeGB property: Gets or sets size in gigabytes.voidvalidate()Validates the instance.RecommendedElasticPoolMetricInnerwithDateTime(OffsetDateTime dateTime)Set the dateTime property: The time of metric (ISO8601 format).RecommendedElasticPoolMetricInnerwithDtu(Double dtu)Set the dtu property: Gets or sets the DTUs (Database Transaction Units).RecommendedElasticPoolMetricInnerwithSizeGB(Double sizeGB)Set the sizeGB property: Gets or sets size in gigabytes.
-
-
-
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.
-
-