Class Dimension
java.lang.Object
com.azure.resourcemanager.maps.models.Dimension
Dimension of map account, for example API Category, Api Name, Result Type, and Response Code.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the displayName property: Display name of dimension.Get the internalMetricName property: Internal metric name of the dimension.Get the internalName property: Internal name of the dimension.name()
Get the name property: Display name of dimension.Get the sourceMdmNamespace property: Source Mdm Namespace of the dimension.Get the toBeExportedToShoebox property: Flag to indicate exporting to Azure Monitor.void
validate()
Validates the instance.withDisplayName
(String displayName) Set the displayName property: Display name of dimension.withInternalMetricName
(String internalMetricName) Set the internalMetricName property: Internal metric name of the dimension.withInternalName
(String internalName) Set the internalName property: Internal name of the dimension.Set the name property: Display name of dimension.withSourceMdmNamespace
(String sourceMdmNamespace) Set the sourceMdmNamespace property: Source Mdm Namespace of the dimension.withToBeExportedToShoebox
(Boolean toBeExportedToShoebox) Set the toBeExportedToShoebox property: Flag to indicate exporting to Azure Monitor.
-
Constructor Details
-
Dimension
public Dimension()Creates an instance of Dimension class.
-
-
Method Details
-
name
Get the name property: Display name of dimension.- Returns:
- the name value.
-
withName
Set the name property: Display name of dimension.- Parameters:
name
- the name value to set.- Returns:
- the Dimension object itself.
-
displayName
Get the displayName property: Display name of dimension.- Returns:
- the displayName value.
-
withDisplayName
Set the displayName property: Display name of dimension.- Parameters:
displayName
- the displayName value to set.- Returns:
- the Dimension object itself.
-
internalName
Get the internalName property: Internal name of the dimension.- Returns:
- the internalName value.
-
withInternalName
Set the internalName property: Internal name of the dimension.- Parameters:
internalName
- the internalName value to set.- Returns:
- the Dimension object itself.
-
internalMetricName
Get the internalMetricName property: Internal metric name of the dimension.- Returns:
- the internalMetricName value.
-
withInternalMetricName
Set the internalMetricName property: Internal metric name of the dimension.- Parameters:
internalMetricName
- the internalMetricName value to set.- Returns:
- the Dimension object itself.
-
sourceMdmNamespace
Get the sourceMdmNamespace property: Source Mdm Namespace of the dimension.- Returns:
- the sourceMdmNamespace value.
-
withSourceMdmNamespace
Set the sourceMdmNamespace property: Source Mdm Namespace of the dimension.- Parameters:
sourceMdmNamespace
- the sourceMdmNamespace value to set.- Returns:
- the Dimension object itself.
-
toBeExportedToShoebox
Get the toBeExportedToShoebox property: Flag to indicate exporting to Azure Monitor.- Returns:
- the toBeExportedToShoebox value.
-
withToBeExportedToShoebox
Set the toBeExportedToShoebox property: Flag to indicate exporting to Azure Monitor.- Parameters:
toBeExportedToShoebox
- the toBeExportedToShoebox value to set.- Returns:
- the Dimension object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-