Class PostQueryOptions.Builder

  • Enclosing class:
    PostQueryOptions

    public static class PostQueryOptions.Builder
    extends java.lang.Object
    Builder.
    • Constructor Detail

      • Builder

        public Builder()
        Instantiates a new builder.
      • Builder

        public Builder​(java.lang.String engine,
                       java.lang.String catalog,
                       java.lang.String schema,
                       java.lang.String sqlQuery)
        Instantiates a new builder with required properties.
        Parameters:
        engine - the engine
        catalog - the catalog
        schema - the schema
        sqlQuery - the sqlQuery
    • Method Detail

      • build

        public PostQueryOptions build()
        Builds a PostQueryOptions.
        Returns:
        the new PostQueryOptions instance
      • engine

        public PostQueryOptions.Builder engine​(java.lang.String engine)
        Set the engine.
        Parameters:
        engine - the engine
        Returns:
        the PostQueryOptions builder
      • catalog

        public PostQueryOptions.Builder catalog​(java.lang.String catalog)
        Set the catalog.
        Parameters:
        catalog - the catalog
        Returns:
        the PostQueryOptions builder
      • schema

        public PostQueryOptions.Builder schema​(java.lang.String schema)
        Set the schema.
        Parameters:
        schema - the schema
        Returns:
        the PostQueryOptions builder
      • sqlQuery

        public PostQueryOptions.Builder sqlQuery​(java.lang.String sqlQuery)
        Set the sqlQuery.
        Parameters:
        sqlQuery - the sqlQuery
        Returns:
        the PostQueryOptions builder
      • accept

        public PostQueryOptions.Builder accept​(java.lang.String accept)
        Set the accept.
        Parameters:
        accept - the accept
        Returns:
        the PostQueryOptions builder
      • authInstanceId

        public PostQueryOptions.Builder authInstanceId​(java.lang.String authInstanceId)
        Set the authInstanceId.
        Parameters:
        authInstanceId - the authInstanceId
        Returns:
        the PostQueryOptions builder