java.lang.Object
com.azure.resourcemanager.devcenter.models.UsageName

public final class UsageName extends Object
The Usage Names.
  • Constructor Details

    • UsageName

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

    • localizedValue

      public String localizedValue()
      Get the localizedValue property: The localized name of the resource.
      Returns:
      the localizedValue value.
    • withLocalizedValue

      public UsageName withLocalizedValue(String localizedValue)
      Set the localizedValue property: The localized name of the resource.
      Parameters:
      localizedValue - the localizedValue value to set.
      Returns:
      the UsageName object itself.
    • value

      public String value()
      Get the value property: The name of the resource.
      Returns:
      the value value.
    • withValue

      public UsageName withValue(String value)
      Set the value property: The name of the resource.
      Parameters:
      value - the value value to set.
      Returns:
      the UsageName object itself.
    • validate

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