Class SchemaDocument.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • title

        public SchemaDocument.Builder title​(String title)
        The display name or title for this schema document.
        Parameters:
        title - the value to set
        Returns:
        this builder
      • description

        public SchemaDocument.Builder description​(String description)
        A detailed description of the stack or schema.
        Parameters:
        description - the value to set
        Returns:
        this builder
      • stackDescription

        public SchemaDocument.Builder stackDescription​(String stackDescription)
        Additional details describing the stack’s purpose or use-case.
        Parameters:
        stackDescription - the value to set
        Returns:
        this builder
      • packageVersion

        public SchemaDocument.Builder packageVersion​(String packageVersion)
        The version of the package associated with this schema.
        Parameters:
        packageVersion - the value to set
        Returns:
        this builder
      • version

        public SchemaDocument.Builder version​(String version)
        The version identifier for this schema document.
        Parameters:
        version - the value to set
        Returns:
        this builder
      • logoUrl

        public SchemaDocument.Builder logoUrl​(String logoUrl)
        logo url.
        Parameters:
        logoUrl - the value to set
        Returns:
        this builder
      • informationalText

        public SchemaDocument.Builder informationalText​(String informationalText)
        Informational text or notes relevant to the stack or its use.
        Parameters:
        informationalText - the value to set
        Returns:
        this builder
      • instructions

        public SchemaDocument.Builder instructions​(String instructions)
        Setup or usage instructions for this stack.
        Parameters:
        instructions - the value to set
        Returns:
        this builder
      • troubleshooting

        public SchemaDocument.Builder troubleshooting​(String troubleshooting)
        Troubleshooting tips, guidance, or steps for stack usage.
        Parameters:
        troubleshooting - the value to set
        Returns:
        this builder
      • canAllowViewState

        public SchemaDocument.Builder canAllowViewState​(Boolean canAllowViewState)
        Indicates if the stack allows users to view state information.
        Parameters:
        canAllowViewState - the value to set
        Returns:
        this builder
      • variables

        public SchemaDocument.Builder variables​(Map<String,​BaseVariable> variables)
        Key-value map of input variables defined for use by the stack.
        Parameters:
        variables - the value to set
        Returns:
        this builder
      • variableGroups

        public SchemaDocument.Builder variableGroups​(List<VariableGroup> variableGroups)
        An array of variable group definitions for organizing variables together.
        Parameters:
        variableGroups - the value to set
        Returns:
        this builder
      • outputs

        public SchemaDocument.Builder outputs​(Map<String,​BaseOutput> outputs)
        A mapping of output variable names to their definitions.
        Parameters:
        outputs - the value to set
        Returns:
        this builder
      • outputGroups

        public SchemaDocument.Builder outputGroups​(List<OutputGroup> outputGroups)
        Array of output group objects to group outputs for display or logical purposes.
        Parameters:
        outputGroups - the value to set
        Returns:
        this builder
      • primaryOutputButton

        public SchemaDocument.Builder primaryOutputButton​(String primaryOutputButton)
        primary output button value.
        Parameters:
        primaryOutputButton - the value to set
        Returns:
        this builder