Interface CreateCsvClassifierRequest.Builder

    • Method Detail

      • name

        CreateCsvClassifierRequest.Builder name​(String name)

        The name of the classifier.

        Parameters:
        name - The name of the classifier.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • delimiter

        CreateCsvClassifierRequest.Builder delimiter​(String delimiter)

        A custom symbol to denote what separates each column entry in the row.

        Parameters:
        delimiter - A custom symbol to denote what separates each column entry in the row.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • quoteSymbol

        CreateCsvClassifierRequest.Builder quoteSymbol​(String quoteSymbol)

        A custom symbol to denote what combines content into a single column value. Must be different from the column delimiter.

        Parameters:
        quoteSymbol - A custom symbol to denote what combines content into a single column value. Must be different from the column delimiter.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • containsHeader

        CreateCsvClassifierRequest.Builder containsHeader​(String containsHeader)

        Indicates whether the CSV file contains a header.

        Parameters:
        containsHeader - Indicates whether the CSV file contains a header.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        CsvHeaderOption, CsvHeaderOption
      • header

        CreateCsvClassifierRequest.Builder header​(Collection<String> header)

        A list of strings representing column names.

        Parameters:
        header - A list of strings representing column names.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • header

        CreateCsvClassifierRequest.Builder header​(String... header)

        A list of strings representing column names.

        Parameters:
        header - A list of strings representing column names.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • disableValueTrimming

        CreateCsvClassifierRequest.Builder disableValueTrimming​(Boolean disableValueTrimming)

        Specifies not to trim values before identifying the type of column values. The default value is true.

        Parameters:
        disableValueTrimming - Specifies not to trim values before identifying the type of column values. The default value is true.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • allowSingleColumn

        CreateCsvClassifierRequest.Builder allowSingleColumn​(Boolean allowSingleColumn)

        Enables the processing of files that contain only one column.

        Parameters:
        allowSingleColumn - Enables the processing of files that contain only one column.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • customDatatypeConfigured

        CreateCsvClassifierRequest.Builder customDatatypeConfigured​(Boolean customDatatypeConfigured)

        Enables the configuration of custom datatypes.

        Parameters:
        customDatatypeConfigured - Enables the configuration of custom datatypes.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • customDatatypes

        CreateCsvClassifierRequest.Builder customDatatypes​(Collection<String> customDatatypes)

        Creates a list of supported custom datatypes.

        Parameters:
        customDatatypes - Creates a list of supported custom datatypes.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • customDatatypes

        CreateCsvClassifierRequest.Builder customDatatypes​(String... customDatatypes)

        Creates a list of supported custom datatypes.

        Parameters:
        customDatatypes - Creates a list of supported custom datatypes.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • serde

        CreateCsvClassifierRequest.Builder serde​(String serde)

        Sets the SerDe for processing CSV in the classifier, which will be applied in the Data Catalog. Valid values are OpenCSVSerDe, LazySimpleSerDe, and None. You can specify the None value when you want the crawler to do the detection.

        Parameters:
        serde - Sets the SerDe for processing CSV in the classifier, which will be applied in the Data Catalog. Valid values are OpenCSVSerDe, LazySimpleSerDe, and None. You can specify the None value when you want the crawler to do the detection.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        CsvSerdeOption, CsvSerdeOption
      • serde

        CreateCsvClassifierRequest.Builder serde​(CsvSerdeOption serde)

        Sets the SerDe for processing CSV in the classifier, which will be applied in the Data Catalog. Valid values are OpenCSVSerDe, LazySimpleSerDe, and None. You can specify the None value when you want the crawler to do the detection.

        Parameters:
        serde - Sets the SerDe for processing CSV in the classifier, which will be applied in the Data Catalog. Valid values are OpenCSVSerDe, LazySimpleSerDe, and None. You can specify the None value when you want the crawler to do the detection.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        CsvSerdeOption, CsvSerdeOption