RecommendedActionImpactRecord Class

  • java.lang.Object
    • com.azure.resourcemanager.sql.models.RecommendedActionImpactRecord

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 RecommendedActionImpactRecord class.

Method Summary

Modifier and Type Method and Description
Double absoluteValue()

Get the absoluteValue property: Gets the absolute value of this dimension if applicable.

Double changeValueAbsolute()

Get the changeValueAbsolute property: Gets the absolute change in the value of this dimension.

Double changeValueRelative()

Get the changeValueRelative property: Gets the relative change in the value of this dimension.

String dimensionName()

Get the dimensionName property: Gets the name of the impact dimension.

static RecommendedActionImpactRecord fromJson(JsonReader jsonReader)

Reads an instance of RecommendedActionImpactRecord from the JsonReader.

JsonWriter 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:

the absoluteValue value.

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:

the changeValueAbsolute value.

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:

the changeValueRelative value.

dimensionName

public String dimensionName()

Get the dimensionName property: Gets the name of the impact dimension. e.g., CPUChange, DiskSpaceChange, NumberOfQueriesAffected.

Returns:

the dimensionName value.

fromJson

public static RecommendedActionImpactRecord fromJson(JsonReader jsonReader)

Reads an instance of RecommendedActionImpactRecord from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of RecommendedActionImpactRecord if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the RecommendedActionImpactRecord.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

unit

public String unit()

Get the unit property: Gets the name of the impact dimension. e.g., CPUChange, DiskSpaceChange, NumberOfQueriesAffected.

Returns:

the unit value.

validate

public void validate()

Validates the instance.

Applies to