Class GenerateSqlFromNlDetails.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • description

        public GenerateSqlFromNlDetails.Builder description​(String description)
        An optional description of the GenerateSqlFromNlJob.
        Parameters:
        description - the value to set
        Returns:
        this builder
      • displayName

        public GenerateSqlFromNlDetails.Builder displayName​(String displayName)
        A user-friendly display name.

        It does not have to be unique and can be modified. Avoid entering confidential information.

        Parameters:
        displayName - the value to set
        Returns:
        this builder
      • inputNaturalLanguageQuery

        public GenerateSqlFromNlDetails.Builder inputNaturalLanguageQuery​(String inputNaturalLanguageQuery)
        A user-provided query or instruction written in plain, conversational language.

        This input is intended to capture the user’s intent, question, or command without requiring technical syntax or structured formatting. The query should clearly express what the user wants to know or accomplish, allowing the system to interpret and respond appropriately.

        Parameters:
        inputNaturalLanguageQuery - the value to set
        Returns:
        this builder
      • freeformTags

        public GenerateSqlFromNlDetails.Builder freeformTags​(Map<String,​String> freeformTags)
        Simple key-value pair that is applied without any predefined name, type or scope.

        Exists for cross-compatibility only. Example: {“bar-key”: “value”}

        Parameters:
        freeformTags - the value to set
        Returns:
        this builder
      • definedTags

        public GenerateSqlFromNlDetails.Builder definedTags​(Map<String,​Map<String,​Object>> definedTags)
        Defined tags for this resource.

        Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}

        Parameters:
        definedTags - the value to set
        Returns:
        this builder