Class Dimensions
- java.lang.Object
-
- com.azure.resourcemanager.edgeorder.models.Dimensions
-
public final class Dimensions extends Object
Dimensions of a configuration.
-
-
Constructor Summary
Constructors Constructor Description Dimensions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Double
depth()
Get the depth property: Depth of the device.Double
height()
Get the height property: Height of the device.Double
length()
Get the length property: Length of the device.LengthHeightUnit
lengthHeightUnit()
Get the lengthHeightUnit property: Unit for the dimensions of length, height and width.void
validate()
Validates the instance.Double
weight()
Get the weight property: Weight of the device.WeightMeasurementUnit
weightUnit()
Get the weightUnit property: Unit for the dimensions of weight.Double
width()
Get the width property: Width of the device.
-
-
-
Method Detail
-
length
public Double length()
Get the length property: Length of the device.- Returns:
- the length value.
-
height
public Double height()
Get the height property: Height of the device.- Returns:
- the height value.
-
width
public Double width()
Get the width property: Width of the device.- Returns:
- the width value.
-
lengthHeightUnit
public LengthHeightUnit lengthHeightUnit()
Get the lengthHeightUnit property: Unit for the dimensions of length, height and width.- Returns:
- the lengthHeightUnit value.
-
weight
public Double weight()
Get the weight property: Weight of the device.- Returns:
- the weight value.
-
depth
public Double depth()
Get the depth property: Depth of the device.- Returns:
- the depth value.
-
weightUnit
public WeightMeasurementUnit weightUnit()
Get the weightUnit property: Unit for the dimensions of weight.- Returns:
- the weightUnit value.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-