Class ResourceReference


  • public final class ResourceReference
    extends Object
    Reference to a resource.
    • Constructor Detail

      • ResourceReference

        public ResourceReference()
    • Method Detail

      • id

        public String id()
        Get the id property: Resource ID.
        Returns:
        the id value.
      • withId

        public ResourceReference withId​(String id)
        Set the id property: Resource ID.
        Parameters:
        id - the id value to set.
        Returns:
        the ResourceReference object itself.
      • validate

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