public final class MetricNamespaceInner extends Object
| Constructor and Description |
|---|
MetricNamespaceInner() |
| Modifier and Type | Method and Description |
|---|---|
String |
id()
Get the id property: The ID of the metricNamespace.
|
String |
name()
Get the name property: The name of the namespace.
|
MetricNamespaceName |
properties()
Get the properties property: Properties which include the fully qualified namespace name.
|
String |
type()
Get the type property: The type of the namespace.
|
void |
validate()
Validates the instance.
|
MetricNamespaceInner |
withId(String id)
Set the id property: The ID of the metricNamespace.
|
MetricNamespaceInner |
withName(String name)
Set the name property: The name of the namespace.
|
MetricNamespaceInner |
withProperties(MetricNamespaceName properties)
Set the properties property: Properties which include the fully qualified namespace name.
|
MetricNamespaceInner |
withType(String type)
Set the type property: The type of the namespace.
|
public String id()
public MetricNamespaceInner withId(String id)
id - the id value to set.public String type()
public MetricNamespaceInner withType(String type)
type - the type value to set.public String name()
public MetricNamespaceInner withName(String name)
name - the name value to set.public MetricNamespaceName properties()
public MetricNamespaceInner withProperties(MetricNamespaceName properties)
properties - the properties value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.