Class CreateColumnsOptions.Builder

  • Enclosing class:
    CreateColumnsOptions

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

      • Builder

        public Builder()
        Instantiates a new builder.
      • Builder

        public Builder​(java.lang.String engineId,
                       java.lang.String catalogId,
                       java.lang.String schemaId,
                       java.lang.String tableId)
        Instantiates a new builder with required properties.
        Parameters:
        engineId - the engineId
        catalogId - the catalogId
        schemaId - the schemaId
        tableId - the tableId
    • Method Detail

      • build

        public CreateColumnsOptions build()
        Builds a CreateColumnsOptions.
        Returns:
        the new CreateColumnsOptions instance
      • addColumns

        public CreateColumnsOptions.Builder addColumns​(Column columns)
        Adds a new element to columns.
        Parameters:
        columns - the new element to be added
        Returns:
        the CreateColumnsOptions builder
      • engineId

        public CreateColumnsOptions.Builder engineId​(java.lang.String engineId)
        Set the engineId.
        Parameters:
        engineId - the engineId
        Returns:
        the CreateColumnsOptions builder
      • catalogId

        public CreateColumnsOptions.Builder catalogId​(java.lang.String catalogId)
        Set the catalogId.
        Parameters:
        catalogId - the catalogId
        Returns:
        the CreateColumnsOptions builder
      • schemaId

        public CreateColumnsOptions.Builder schemaId​(java.lang.String schemaId)
        Set the schemaId.
        Parameters:
        schemaId - the schemaId
        Returns:
        the CreateColumnsOptions builder
      • tableId

        public CreateColumnsOptions.Builder tableId​(java.lang.String tableId)
        Set the tableId.
        Parameters:
        tableId - the tableId
        Returns:
        the CreateColumnsOptions builder
      • columns

        public CreateColumnsOptions.Builder columns​(java.util.List<Column> columns)
        Set the columns. Existing columns will be replaced.
        Parameters:
        columns - the columns
        Returns:
        the CreateColumnsOptions builder
      • authInstanceId

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