Class MetricNamespaceInner
java.lang.Object
com.azure.resourcemanager.monitor.fluent.models.MetricNamespaceInner
Metric namespace class specifies the metadata for a metric namespace.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the classification property: Kind of namespace.id()Get the id property: The ID of the metric namespace.name()Get the name property: The escaped name of the namespace.Get the properties property: Properties which include the fully qualified namespace name.type()Get the type property: The type of the namespace.voidvalidate()Validates the instance.withClassification(NamespaceClassification classification) Set the classification property: Kind of namespace.Set the id property: The ID of the metric namespace.Set the name property: The escaped name of the namespace.withProperties(MetricNamespaceName properties) Set the properties property: Properties which include the fully qualified namespace name.Set the type property: The type of the namespace.
-
Constructor Details
-
MetricNamespaceInner
public MetricNamespaceInner()Creates an instance of MetricNamespaceInner class.
-
-
Method Details
-
id
Get the id property: The ID of the metric namespace.- Returns:
- the id value.
-
withId
Set the id property: The ID of the metric namespace.- Parameters:
id- the id value to set.- Returns:
- the MetricNamespaceInner object itself.
-
type
Get the type property: The type of the namespace.- Returns:
- the type value.
-
withType
Set the type property: The type of the namespace.- Parameters:
type- the type value to set.- Returns:
- the MetricNamespaceInner object itself.
-
name
Get the name property: The escaped name of the namespace.- Returns:
- the name value.
-
withName
Set the name property: The escaped name of the namespace.- Parameters:
name- the name value to set.- Returns:
- the MetricNamespaceInner object itself.
-
classification
Get the classification property: Kind of namespace.- Returns:
- the classification value.
-
withClassification
Set the classification property: Kind of namespace.- Parameters:
classification- the classification value to set.- Returns:
- the MetricNamespaceInner object itself.
-
properties
Get the properties property: Properties which include the fully qualified namespace name.- Returns:
- the properties value.
-
withProperties
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.
-