Class Parameters.Builder

    • Method Detail

      • id

        public Parameters.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.
        Overrides:
        id in class Resource.Builder
        Parameters:
        id - Logical id of this artifact
        Returns:
        A reference to this Builder instance
      • meta

        public Parameters.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.
        Overrides:
        meta in class Resource.Builder
        Parameters:
        meta - Metadata about the resource
        Returns:
        A reference to this Builder instance
      • implicitRules

        public Parameters.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.
        Overrides:
        implicitRules in class Resource.Builder
        Parameters:
        implicitRules - A set of rules under which this content was created
        Returns:
        A reference to this Builder instance
      • language

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

        public Parameters.Builder parameter​(Parameters.Parameter... parameter)
        A parameter passed to or received from the operation.

        Adds new element(s) to the existing list. If any of the elements are null, calling build() will fail.

        Parameters:
        parameter - Operation Parameter
        Returns:
        A reference to this Builder instance
      • parameter

        public Parameters.Builder parameter​(java.util.Collection<Parameters.Parameter> parameter)
        A parameter passed to or received from the operation.

        Replaces the existing list with a new one containing elements from the Collection. If any of the elements are null, calling build() will fail.

        Parameters:
        parameter - Operation Parameter
        Returns:
        A reference to this Builder instance
        Throws:
        java.lang.NullPointerException - If the passed collection is null
      • validate

        protected void validate​(Parameters parameters)