MetricDimension Class
- java.
lang. Object - com.
azure. resourcemanager. avs. models. MetricDimension
- com.
public final class MetricDimension
Specifications of the Dimension of metrics.
Constructor Summary
Constructor | Description |
---|---|
MetricDimension() |
Creates an instance of Metric |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
displayName()
Get the display |
String |
internalName()
Get the internal |
String |
name()
Get the name property: Name of the dimension. |
Boolean |
toBeExportedForShoebox()
Get the to |
void |
validate()
Validates the instance. |
Metric |
withDisplayName(String displayName)
Set the display |
Metric |
withInternalName(String internalName)
Set the internal |
Metric |
withName(String name)
Set the name property: Name of the dimension. |
Metric |
withToBeExportedForShoebox(Boolean toBeExportedForShoebox)
Set the to |
Methods inherited from java.lang.Object
Constructor Details
MetricDimension
public MetricDimension()
Creates an instance of MetricDimension class.
Method Details
displayName
public String displayName()
Get the displayName property: Localized friendly display name of the dimension.
Returns:
internalName
public String internalName()
Get the internalName property: Name of the dimension as it appears in MDM.
Returns:
name
public String name()
Get the name property: Name of the dimension.
Returns:
toBeExportedForShoebox
public Boolean toBeExportedForShoebox()
Get the toBeExportedForShoebox property: A boolean flag indicating whether this dimension should be included for the shoebox export scenario.
Returns:
validate
public void validate()
Validates the instance.
withDisplayName
public MetricDimension withDisplayName(String displayName)
Set the displayName property: Localized friendly display name of the dimension.
Parameters:
Returns:
withInternalName
public MetricDimension withInternalName(String internalName)
Set the internalName property: Name of the dimension as it appears in MDM.
Parameters:
Returns:
withName
public MetricDimension withName(String name)
Set the name property: Name of the dimension.
Parameters:
Returns:
withToBeExportedForShoebox
public MetricDimension withToBeExportedForShoebox(Boolean toBeExportedForShoebox)
Set the toBeExportedForShoebox property: A boolean flag indicating whether this dimension should be included for the shoebox export scenario.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for