Class Resource.Builder

    • Field Detail

      • id

        protected java.lang.String id
      • meta

        protected Meta meta
      • implicitRules

        protected Uri implicitRules
      • language

        protected Code language
    • Constructor Detail

      • Builder

        protected Builder()
    • Method Detail

      • id

        public Resource.Builder id​(java.lang.String id)
        The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.
        Parameters:
        id - Logical id of this artifact
        Returns:
        A reference to this Builder instance
      • meta

        public Resource.Builder meta​(Meta meta)
        The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.
        Parameters:
        meta - Metadata about the resource
        Returns:
        A reference to this Builder instance
      • implicitRules

        public Resource.Builder implicitRules​(Uri implicitRules)
        A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.
        Parameters:
        implicitRules - A set of rules under which this content was created
        Returns:
        A reference to this Builder instance
      • language

        public Resource.Builder language​(Code language)
        The base language in which the resource is written.
        Parameters:
        language - Language of the resource content
        Returns:
        A reference to this Builder instance
      • validate

        protected void validate​(Resource resource)