Class JobPrestoConfigArgs.Builder

  • Enclosing class:
    JobPrestoConfigArgs

    public static final class JobPrestoConfigArgs.Builder
    extends java.lang.Object
    • Method Detail

      • clientTags

        public JobPrestoConfigArgs.Builder clientTags​(@Nullable
                                                      com.pulumi.core.Output<java.util.List<java.lang.String>> clientTags)
        Parameters:
        clientTags - Presto client tags to attach to this query.
        Returns:
        builder
      • clientTags

        public JobPrestoConfigArgs.Builder clientTags​(java.util.List<java.lang.String> clientTags)
        Parameters:
        clientTags - Presto client tags to attach to this query.
        Returns:
        builder
      • clientTags

        public JobPrestoConfigArgs.Builder clientTags​(java.lang.String... clientTags)
        Parameters:
        clientTags - Presto client tags to attach to this query.
        Returns:
        builder
      • continueOnFailure

        public JobPrestoConfigArgs.Builder continueOnFailure​(@Nullable
                                                             com.pulumi.core.Output<java.lang.Boolean> continueOnFailure)
        Parameters:
        continueOnFailure - Whether to continue executing queries if a query fails. Setting to true can be useful when executing independent parallel queries. Defaults to false.
        Returns:
        builder
      • continueOnFailure

        public JobPrestoConfigArgs.Builder continueOnFailure​(java.lang.Boolean continueOnFailure)
        Parameters:
        continueOnFailure - Whether to continue executing queries if a query fails. Setting to true can be useful when executing independent parallel queries. Defaults to false.
        Returns:
        builder
      • outputFormat

        public JobPrestoConfigArgs.Builder outputFormat​(@Nullable
                                                        com.pulumi.core.Output<java.lang.String> outputFormat)
        Parameters:
        outputFormat - The format in which query output will be displayed. See the Presto documentation for supported output formats.
        Returns:
        builder
      • outputFormat

        public JobPrestoConfigArgs.Builder outputFormat​(java.lang.String outputFormat)
        Parameters:
        outputFormat - The format in which query output will be displayed. See the Presto documentation for supported output formats.
        Returns:
        builder
      • properties

        public JobPrestoConfigArgs.Builder properties​(@Nullable
                                                      com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> properties)
        Parameters:
        properties - A mapping of property names to values. Used to set Presto session properties Equivalent to using the --session flag in the Presto CLI.
        Returns:
        builder
      • properties

        public JobPrestoConfigArgs.Builder properties​(java.util.Map<java.lang.String,​java.lang.String> properties)
        Parameters:
        properties - A mapping of property names to values. Used to set Presto session properties Equivalent to using the --session flag in the Presto CLI.
        Returns:
        builder
      • queryFileUri

        public JobPrestoConfigArgs.Builder queryFileUri​(@Nullable
                                                        com.pulumi.core.Output<java.lang.String> queryFileUri)
        Parameters:
        queryFileUri - The HCFS URI of the script that contains SQL queries. Conflicts with `query_list`
        Returns:
        builder
      • queryFileUri

        public JobPrestoConfigArgs.Builder queryFileUri​(java.lang.String queryFileUri)
        Parameters:
        queryFileUri - The HCFS URI of the script that contains SQL queries. Conflicts with `query_list`
        Returns:
        builder
      • queryLists

        public JobPrestoConfigArgs.Builder queryLists​(@Nullable
                                                      com.pulumi.core.Output<java.util.List<java.lang.String>> queryLists)
        Parameters:
        queryLists - The list of SQL queries or statements to execute as part of the job. Conflicts with `query_file_uri`
        Returns:
        builder
      • queryLists

        public JobPrestoConfigArgs.Builder queryLists​(java.util.List<java.lang.String> queryLists)
        Parameters:
        queryLists - The list of SQL queries or statements to execute as part of the job. Conflicts with `query_file_uri`
        Returns:
        builder
      • queryLists

        public JobPrestoConfigArgs.Builder queryLists​(java.lang.String... queryLists)
        Parameters:
        queryLists - The list of SQL queries or statements to execute as part of the job. Conflicts with `query_file_uri`
        Returns:
        builder