RecommendedActionImpactRecord Class
- java.
lang. Object - com.
azure. resourcemanager. sql. models. RecommendedActionImpactRecord
- com.
Implements
public final class RecommendedActionImpactRecord
implements JsonSerializable<RecommendedActionImpactRecord>
Contains information of estimated or observed impact on various metrics for an Azure SQL Database, Server or Elastic Pool Recommended Action.
Constructor Summary
Constructor | Description |
---|---|
RecommendedActionImpactRecord() |
Creates an instance of Recommended |
Method Summary
Modifier and Type | Method and Description |
---|---|
Double |
absoluteValue()
Get the absolute |
Double |
changeValueAbsolute()
Get the change |
Double |
changeValueRelative()
Get the change |
String |
dimensionName()
Get the dimension |
static
Recommended |
fromJson(JsonReader jsonReader)
Reads an instance of Recommended |
Json |
toJson(JsonWriter jsonWriter) |
String |
unit()
Get the unit property: Gets the name of the impact dimension. |
void |
validate()
Validates the instance. |
Methods inherited from java.lang.Object
Constructor Details
RecommendedActionImpactRecord
public RecommendedActionImpactRecord()
Creates an instance of RecommendedActionImpactRecord class.
Method Details
absoluteValue
public Double absoluteValue()
Get the absoluteValue property: Gets the absolute value of this dimension if applicable. e.g., Number of Queries affected.
Returns:
changeValueAbsolute
public Double changeValueAbsolute()
Get the changeValueAbsolute property: Gets the absolute change in the value of this dimension. e.g., Absolute Disk space change in Megabytes.
Returns:
changeValueRelative
public Double changeValueRelative()
Get the changeValueRelative property: Gets the relative change in the value of this dimension. e.g., Relative Disk space change in Percentage.
Returns:
dimensionName
public String dimensionName()
Get the dimensionName property: Gets the name of the impact dimension. e.g., CPUChange, DiskSpaceChange, NumberOfQueriesAffected.
Returns:
fromJson
public static RecommendedActionImpactRecord fromJson(JsonReader jsonReader)
Reads an instance of RecommendedActionImpactRecord from the JsonReader.
Parameters:
Returns:
Throws:
toJson
unit
public String unit()
Get the unit property: Gets the name of the impact dimension. e.g., CPUChange, DiskSpaceChange, NumberOfQueriesAffected.
Returns:
validate
public void validate()
Validates the instance.
Applies to
Azure SDK for Java