java.lang.Object
com.azure.resourcemanager.recoveryservicesbackup.models.NameInfo

public final class NameInfo extends Object
The name of usage.
  • Constructor Details

    • NameInfo

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

    • value

      public String value()
      Get the value property: Value of usage.
      Returns:
      the value value.
    • withValue

      public NameInfo withValue(String value)
      Set the value property: Value of usage.
      Parameters:
      value - the value value to set.
      Returns:
      the NameInfo object itself.
    • localizedValue

      public String localizedValue()
      Get the localizedValue property: Localized value of usage.
      Returns:
      the localizedValue value.
    • withLocalizedValue

      public NameInfo withLocalizedValue(String localizedValue)
      Set the localizedValue property: Localized value of usage.
      Parameters:
      localizedValue - the localizedValue value to set.
      Returns:
      the NameInfo object itself.
    • validate

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