Class OperationImpact
- java.lang.Object
-
- com.azure.resourcemanager.sql.models.OperationImpact
-
public final class OperationImpact extends Object
The impact of an operation, both in absolute and relative terms.
-
-
Constructor Summary
Constructors Constructor Description OperationImpact()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DoublechangeValueAbsolute()Get the changeValueAbsolute property: The absolute impact to dimension.DoublechangeValueRelative()Get the changeValueRelative property: The relative impact to dimension (null if not applicable).Stringname()Get the name property: The name of the impact dimension.Stringunit()Get the unit property: The unit in which estimated impact to dimension is measured.voidvalidate()Validates the instance.
-
-
-
Method Detail
-
name
public String name()
Get the name property: The name of the impact dimension.- Returns:
- the name value.
-
unit
public String unit()
Get the unit property: The unit in which estimated impact to dimension is measured.- Returns:
- the unit value.
-
changeValueAbsolute
public Double changeValueAbsolute()
Get the changeValueAbsolute property: The absolute impact to dimension.- Returns:
- the changeValueAbsolute value.
-
changeValueRelative
public Double changeValueRelative()
Get the changeValueRelative property: The relative impact to dimension (null if not applicable).- Returns:
- the changeValueRelative value.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-