Class Dimension
- java.lang.Object
-
- com.azure.resourcemanager.network.models.Dimension
-
public final class Dimension extends Object
Dimension of the metric.
-
-
Constructor Summary
Constructors Constructor Description Dimension()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringdisplayName()Get the displayName property: The display name of the dimension.StringinternalName()Get the internalName property: The internal name of the dimension.Stringname()Get the name property: The name of the dimension.voidvalidate()Validates the instance.DimensionwithDisplayName(String displayName)Set the displayName property: The display name of the dimension.DimensionwithInternalName(String internalName)Set the internalName property: The internal name of the dimension.DimensionwithName(String name)Set the name property: The name of the dimension.
-
-
-
Method Detail
-
name
public String name()
Get the name property: The name of the dimension.- Returns:
- the name value.
-
withName
public Dimension withName(String name)
Set the name property: The name of the dimension.- Parameters:
name- the name value to set.- Returns:
- the Dimension object itself.
-
displayName
public String displayName()
Get the displayName property: The display name of the dimension.- Returns:
- the displayName value.
-
withDisplayName
public Dimension withDisplayName(String displayName)
Set the displayName property: The display name of the dimension.- Parameters:
displayName- the displayName value to set.- Returns:
- the Dimension object itself.
-
internalName
public String internalName()
Get the internalName property: The internal name of the dimension.- Returns:
- the internalName value.
-
withInternalName
public Dimension withInternalName(String internalName)
Set the internalName property: The internal name of the dimension.- Parameters:
internalName- the internalName value to set.- Returns:
- the Dimension object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-