Class ResourceUsageName


  • public final class ResourceUsageName
    extends Object
    Naming information for this resource type.
    • Constructor Detail

      • ResourceUsageName

        public ResourceUsageName()
    • Method Detail

      • value

        public String value()
        Get the value property: Canonical name for this resource type.
        Returns:
        the value value.
      • withValue

        public ResourceUsageName withValue​(String value)
        Set the value property: Canonical name for this resource type.
        Parameters:
        value - the value value to set.
        Returns:
        the ResourceUsageName object itself.
      • localizedValue

        public String localizedValue()
        Get the localizedValue property: Localized name for this resource type.
        Returns:
        the localizedValue value.
      • withLocalizedValue

        public ResourceUsageName withLocalizedValue​(String localizedValue)
        Set the localizedValue property: Localized name for this resource type.
        Parameters:
        localizedValue - the localizedValue value to set.
        Returns:
        the ResourceUsageName object itself.
      • validate

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