Class CreateIngestionJobsLocalFilesOptions.Builder

    • Constructor Detail

      • Builder

        public Builder()
        Instantiates a new builder.
      • Builder

        public Builder​(java.lang.String authInstanceId,
                       java.io.InputStream sourceDataFile,
                       java.lang.String targetTable,
                       java.lang.String jobId,
                       java.lang.String username)
        Instantiates a new builder with required properties.
        Parameters:
        authInstanceId - the authInstanceId
        sourceDataFile - the sourceDataFile
        targetTable - the targetTable
        jobId - the jobId
        username - the username
    • Method Detail

      • authInstanceId

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

        public CreateIngestionJobsLocalFilesOptions.Builder sourceDataFile​(java.io.InputStream sourceDataFile)
        Set the sourceDataFile.
        Parameters:
        sourceDataFile - the sourceDataFile
        Returns:
        the CreateIngestionJobsLocalFilesOptions builder
      • targetTable

        public CreateIngestionJobsLocalFilesOptions.Builder targetTable​(java.lang.String targetTable)
        Set the targetTable.
        Parameters:
        targetTable - the targetTable
        Returns:
        the CreateIngestionJobsLocalFilesOptions builder
      • sourceDataFileContentType

        public CreateIngestionJobsLocalFilesOptions.Builder sourceDataFileContentType​(java.lang.String sourceDataFileContentType)
        Set the sourceDataFileContentType.
        Parameters:
        sourceDataFileContentType - the sourceDataFileContentType
        Returns:
        the CreateIngestionJobsLocalFilesOptions builder
      • sourceFileType

        public CreateIngestionJobsLocalFilesOptions.Builder sourceFileType​(java.lang.String sourceFileType)
        Set the sourceFileType.
        Parameters:
        sourceFileType - the sourceFileType
        Returns:
        the CreateIngestionJobsLocalFilesOptions builder
      • csvProperty

        public CreateIngestionJobsLocalFilesOptions.Builder csvProperty​(java.lang.String csvProperty)
        Set the csvProperty.
        Parameters:
        csvProperty - the csvProperty
        Returns:
        the CreateIngestionJobsLocalFilesOptions builder
      • createIfNotExist

        public CreateIngestionJobsLocalFilesOptions.Builder createIfNotExist​(java.lang.Boolean createIfNotExist)
        Set the createIfNotExist.
        Parameters:
        createIfNotExist - the createIfNotExist
        Returns:
        the CreateIngestionJobsLocalFilesOptions builder
      • validateCsvHeader

        public CreateIngestionJobsLocalFilesOptions.Builder validateCsvHeader​(java.lang.Boolean validateCsvHeader)
        Set the validateCsvHeader.
        Parameters:
        validateCsvHeader - the validateCsvHeader
        Returns:
        the CreateIngestionJobsLocalFilesOptions builder
      • executeConfig

        public CreateIngestionJobsLocalFilesOptions.Builder executeConfig​(java.lang.String executeConfig)
        Set the executeConfig.
        Parameters:
        executeConfig - the executeConfig
        Returns:
        the CreateIngestionJobsLocalFilesOptions builder
      • sourceDataFile

        public CreateIngestionJobsLocalFilesOptions.Builder sourceDataFile​(java.io.File sourceDataFile)
                                                                    throws java.io.FileNotFoundException
        Set the sourceDataFile.
        Parameters:
        sourceDataFile - the sourceDataFile
        Returns:
        the CreateIngestionJobsLocalFilesOptions builder
        Throws:
        java.io.FileNotFoundException - if the file could not be found