Class Dimension
- java.lang.Object
-
- com.azure.resourcemanager.appservice.models.Dimension
-
public final class Dimension extends Object
Dimension of a resource metric. For e.g. instance specific HTTP requests for a web app, where instance name is dimension of the metric HTTP request.
-
-
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 displayName property.StringinternalName()Get the internalName property: The internalName property.Stringname()Get the name property: The name property.BooleantoBeExportedForShoebox()Get the toBeExportedForShoebox property: The toBeExportedForShoebox property.voidvalidate()Validates the instance.DimensionwithDisplayName(String displayName)Set the displayName property: The displayName property.DimensionwithInternalName(String internalName)Set the internalName property: The internalName property.DimensionwithName(String name)Set the name property: The name property.DimensionwithToBeExportedForShoebox(Boolean toBeExportedForShoebox)Set the toBeExportedForShoebox property: The toBeExportedForShoebox property.
-
-
-
Method Detail
-
name
public String name()
Get the name property: The name property.- Returns:
- the name value.
-
withName
public Dimension withName(String name)
Set the name property: The name property.- Parameters:
name- the name value to set.- Returns:
- the Dimension object itself.
-
displayName
public String displayName()
Get the displayName property: The displayName property.- Returns:
- the displayName value.
-
withDisplayName
public Dimension withDisplayName(String displayName)
Set the displayName property: The displayName property.- Parameters:
displayName- the displayName value to set.- Returns:
- the Dimension object itself.
-
internalName
public String internalName()
Get the internalName property: The internalName property.- Returns:
- the internalName value.
-
withInternalName
public Dimension withInternalName(String internalName)
Set the internalName property: The internalName property.- Parameters:
internalName- the internalName value to set.- Returns:
- the Dimension object itself.
-
toBeExportedForShoebox
public Boolean toBeExportedForShoebox()
Get the toBeExportedForShoebox property: The toBeExportedForShoebox property.- Returns:
- the toBeExportedForShoebox value.
-
withToBeExportedForShoebox
public Dimension withToBeExportedForShoebox(Boolean toBeExportedForShoebox)
Set the toBeExportedForShoebox property: The toBeExportedForShoebox property.- Parameters:
toBeExportedForShoebox- the toBeExportedForShoebox value to set.- Returns:
- the Dimension object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-