Class UserMetricsModelInner

java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.trafficmanager.fluent.models.UserMetricsModelInner

public final class UserMetricsModelInner extends com.azure.core.management.ProxyResource
Class representing Traffic Manager User Metrics.
  • Constructor Details

    • UserMetricsModelInner

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

    • key

      public String key()
      Get the key property: The key returned by the User Metrics operation.
      Returns:
      the key value.
    • withKey

      public UserMetricsModelInner withKey(String key)
      Set the key property: The key returned by the User Metrics operation.
      Parameters:
      key - the key value to set.
      Returns:
      the UserMetricsModelInner object itself.
    • validate

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