public class UserMetricsModelInner
extends com.azure.core.management.ProxyResource
| Constructor and Description |
|---|
UserMetricsModelInner() |
| Modifier and Type | Method and Description |
|---|---|
String |
id()
Get the id property: Fully qualified resource Id for the resource.
|
String |
key()
Get the key property: The key returned by the User Metrics operation.
|
String |
name()
Get the name property: The name of the resource.
|
String |
type()
Get the type property: The type of the resource.
|
void |
validate()
Validates the instance.
|
UserMetricsModelInner |
withId(String id)
Set the id property: Fully qualified resource Id for the resource.
|
UserMetricsModelInner |
withKey(String key)
Set the key property: The key returned by the User Metrics operation.
|
UserMetricsModelInner |
withName(String name)
Set the name property: The name of the resource.
|
UserMetricsModelInner |
withType(String type)
Set the type property: The type of the resource.
|
public String key()
public UserMetricsModelInner withKey(String key)
key - the key value to set.public String id()
id in class com.azure.core.management.ProxyResourcepublic UserMetricsModelInner withId(String id)
id - the id value to set.public String name()
name in class com.azure.core.management.ProxyResourcepublic UserMetricsModelInner withName(String name)
name - the name value to set.public String type()
type in class com.azure.core.management.ProxyResourcepublic UserMetricsModelInner withType(String type)
type - the type value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.