Class Dimension
- java.lang.Object
-
- com.azure.resourcemanager.signalr.models.Dimension
-
public final class Dimension extends Object
Specifications of the Dimension of metrics.
-
-
Constructor Summary
Constructors Constructor Description Dimension()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
displayName()
Get the displayName property: Localized friendly display name of the dimension.String
internalName()
Get the internalName property: Name of the dimension as it appears in MDM.String
name()
Get the name property: The public facing name of the dimension.Boolean
toBeExportedForShoebox()
Get the toBeExportedForShoebox property: A Boolean flag indicating whether this dimension should be included for the shoebox export scenario.void
validate()
Validates the instance.Dimension
withDisplayName(String displayName)
Set the displayName property: Localized friendly display name of the dimension.Dimension
withInternalName(String internalName)
Set the internalName property: Name of the dimension as it appears in MDM.Dimension
withName(String name)
Set the name property: The public facing name of the dimension.Dimension
withToBeExportedForShoebox(Boolean toBeExportedForShoebox)
Set the toBeExportedForShoebox property: A Boolean flag indicating whether this dimension should be included for the shoebox export scenario.
-
-
-
Method Detail
-
name
public String name()
Get the name property: The public facing name of the dimension.- Returns:
- the name value.
-
withName
public Dimension withName(String name)
Set the name property: The public facing name of the dimension.- Parameters:
name
- the name value to set.- Returns:
- the Dimension object itself.
-
displayName
public String displayName()
Get the displayName property: Localized friendly display name of the dimension.- Returns:
- the displayName value.
-
withDisplayName
public Dimension withDisplayName(String displayName)
Set the displayName property: Localized friendly 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: Name of the dimension as it appears in MDM.- Returns:
- the internalName value.
-
withInternalName
public Dimension withInternalName(String internalName)
Set the internalName property: Name of the dimension as it appears in MDM.- Parameters:
internalName
- the internalName value to set.- Returns:
- the Dimension object itself.
-
toBeExportedForShoebox
public Boolean toBeExportedForShoebox()
Get the toBeExportedForShoebox property: A Boolean flag indicating whether this dimension should be included for the shoebox export scenario.- Returns:
- the toBeExportedForShoebox value.
-
withToBeExportedForShoebox
public Dimension withToBeExportedForShoebox(Boolean toBeExportedForShoebox)
Set the toBeExportedForShoebox property: A Boolean flag indicating whether this dimension should be included for the shoebox export scenario.- 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.
-
-