Class ResourceName


  • public final class ResourceName
    extends Object
    Name of the resource provided by the resource Provider. When requesting quota, use this property name.
    • Constructor Detail

      • ResourceName

        public ResourceName()
    • Method Detail

      • value

        public String value()
        Get the value property: Resource name.
        Returns:
        the value value.
      • withValue

        public ResourceName withValue​(String value)
        Set the value property: Resource name.
        Parameters:
        value - the value value to set.
        Returns:
        the ResourceName object itself.
      • localizedValue

        public String localizedValue()
        Get the localizedValue property: Resource display name.
        Returns:
        the localizedValue value.
      • validate

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