Class Dimension

java.lang.Object
com.azure.resourcemanager.maps.models.Dimension

public final class Dimension extends Object
Dimension of map account, for example API Category, Api Name, Result Type, and Response Code.
  • Constructor Details

    • Dimension

      public Dimension()
      Creates an instance of Dimension class.
  • Method Details

    • name

      public String name()
      Get the name property: Display name of dimension.
      Returns:
      the name value.
    • withName

      public Dimension withName(String name)
      Set the name property: Display name of dimension.
      Parameters:
      name - the name value to set.
      Returns:
      the Dimension object itself.
    • displayName

      public String displayName()
      Get the displayName property: Display name of dimension.
      Returns:
      the displayName value.
    • withDisplayName

      public Dimension withDisplayName(String displayName)
      Set the displayName property: Display name of dimension.
      Parameters:
      displayName - the displayName value to set.
      Returns:
      the Dimension object itself.
    • internalName

      public String internalName()
      Get the internalName property: Internal name of the dimension.
      Returns:
      the internalName value.
    • withInternalName

      public Dimension withInternalName(String internalName)
      Set the internalName property: Internal name of the dimension.
      Parameters:
      internalName - the internalName value to set.
      Returns:
      the Dimension object itself.
    • internalMetricName

      public String internalMetricName()
      Get the internalMetricName property: Internal metric name of the dimension.
      Returns:
      the internalMetricName value.
    • withInternalMetricName

      public Dimension withInternalMetricName(String internalMetricName)
      Set the internalMetricName property: Internal metric name of the dimension.
      Parameters:
      internalMetricName - the internalMetricName value to set.
      Returns:
      the Dimension object itself.
    • sourceMdmNamespace

      public String sourceMdmNamespace()
      Get the sourceMdmNamespace property: Source Mdm Namespace of the dimension.
      Returns:
      the sourceMdmNamespace value.
    • withSourceMdmNamespace

      public Dimension withSourceMdmNamespace(String sourceMdmNamespace)
      Set the sourceMdmNamespace property: Source Mdm Namespace of the dimension.
      Parameters:
      sourceMdmNamespace - the sourceMdmNamespace value to set.
      Returns:
      the Dimension object itself.
    • toBeExportedToShoebox

      public Boolean toBeExportedToShoebox()
      Get the toBeExportedToShoebox property: Flag to indicate exporting to Azure Monitor.
      Returns:
      the toBeExportedToShoebox value.
    • withToBeExportedToShoebox

      public Dimension withToBeExportedToShoebox(Boolean toBeExportedToShoebox)
      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.