Class MetricNamespaceInner


  • public final class MetricNamespaceInner
    extends Object
    Metric namespace class specifies the metadata for a metric namespace.
    • Constructor Detail

      • MetricNamespaceInner

        public MetricNamespaceInner()
    • Method Detail

      • id

        public String id()
        Get the id property: The ID of the metric namespace.
        Returns:
        the id value.
      • withId

        public MetricNamespaceInner withId​(String id)
        Set the id property: The ID of the metric namespace.
        Parameters:
        id - the id value to set.
        Returns:
        the MetricNamespaceInner object itself.
      • type

        public String type()
        Get the type property: The type of the namespace.
        Returns:
        the type value.
      • withType

        public MetricNamespaceInner withType​(String type)
        Set the type property: The type of the namespace.
        Parameters:
        type - the type value to set.
        Returns:
        the MetricNamespaceInner object itself.
      • name

        public String name()
        Get the name property: The escaped name of the namespace.
        Returns:
        the name value.
      • withName

        public MetricNamespaceInner withName​(String name)
        Set the name property: The escaped name of the namespace.
        Parameters:
        name - the name value to set.
        Returns:
        the MetricNamespaceInner object itself.
      • classification

        public NamespaceClassification classification()
        Get the classification property: Kind of namespace.
        Returns:
        the classification value.
      • withClassification

        public MetricNamespaceInner withClassification​(NamespaceClassification classification)
        Set the classification property: Kind of namespace.
        Parameters:
        classification - the classification value to set.
        Returns:
        the MetricNamespaceInner object itself.
      • properties

        public MetricNamespaceName properties()
        Get the properties property: Properties which include the fully qualified namespace name.
        Returns:
        the properties value.
      • withProperties

        public MetricNamespaceInner withProperties​(MetricNamespaceName properties)
        Set the properties property: Properties which include the fully qualified namespace name.
        Parameters:
        properties - the properties value to set.
        Returns:
        the MetricNamespaceInner object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.