Class Dimension
java.lang.Object
com.azure.resourcemanager.network.models.Dimension
Dimension of the metric.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the displayName property: The display name of the dimension.Get the internalName property: The internal name of the dimension.name()Get the name property: The name of the dimension.voidvalidate()Validates the instance.withDisplayName(String displayName) Set the displayName property: The display name of the dimension.withInternalName(String internalName) Set the internalName property: The internal name of the dimension.Set the name property: The name of the dimension.
-
Constructor Details
-
Dimension
public Dimension()Creates an instance of Dimension class.
-
-
Method Details
-
name
Get the name property: The name of the dimension.- Returns:
- the name value.
-
withName
Set the name property: The name of the dimension.- Parameters:
name- the name value to set.- Returns:
- the Dimension object itself.
-
displayName
Get the displayName property: The display name of the dimension.- Returns:
- the displayName value.
-
withDisplayName
Set the displayName property: The display name of the dimension.- Parameters:
displayName- the displayName value to set.- Returns:
- the Dimension object itself.
-
internalName
Get the internalName property: The internal name of the dimension.- Returns:
- the internalName value.
-
withInternalName
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.
-