Class CfnAnomalyDetectorPropsMixin.CsvFormatDescriptorProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.lookoutmetrics.CfnAnomalyDetectorPropsMixin.CsvFormatDescriptorProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAnomalyDetectorPropsMixin.CsvFormatDescriptorProperty>
- Enclosing interface:
CfnAnomalyDetectorPropsMixin.CsvFormatDescriptorProperty
@Stability(Stable)
public static final class CfnAnomalyDetectorPropsMixin.CsvFormatDescriptorProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAnomalyDetectorPropsMixin.CsvFormatDescriptorProperty>
A builder for
CfnAnomalyDetectorPropsMixin.CsvFormatDescriptorProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnAnomalyDetectorPropsMixin.CsvFormatDescriptorProperty.getCharset()containsHeader(Boolean containsHeader) containsHeader(IResolvable containsHeader) Sets the value ofCfnAnomalyDetectorPropsMixin.CsvFormatDescriptorProperty.getDelimiter()fileCompression(String fileCompression) headerList(List<String> headerList) Sets the value ofCfnAnomalyDetectorPropsMixin.CsvFormatDescriptorProperty.getHeaderList()quoteSymbol(String quoteSymbol)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
charset
@Stability(Stable) public CfnAnomalyDetectorPropsMixin.CsvFormatDescriptorProperty.Builder charset(String charset) Sets the value ofCfnAnomalyDetectorPropsMixin.CsvFormatDescriptorProperty.getCharset()- Parameters:
charset- The character set in which the source CSV file is written.- Returns:
this
-
containsHeader
@Stability(Stable) public CfnAnomalyDetectorPropsMixin.CsvFormatDescriptorProperty.Builder containsHeader(Boolean containsHeader) - Parameters:
containsHeader- Whether or not the source CSV file contains a header.- Returns:
this
-
containsHeader
@Stability(Stable) public CfnAnomalyDetectorPropsMixin.CsvFormatDescriptorProperty.Builder containsHeader(IResolvable containsHeader) - Parameters:
containsHeader- Whether or not the source CSV file contains a header.- Returns:
this
-
delimiter
@Stability(Stable) public CfnAnomalyDetectorPropsMixin.CsvFormatDescriptorProperty.Builder delimiter(String delimiter) Sets the value ofCfnAnomalyDetectorPropsMixin.CsvFormatDescriptorProperty.getDelimiter()- Parameters:
delimiter- The character used to delimit the source CSV file.- Returns:
this
-
fileCompression
@Stability(Stable) public CfnAnomalyDetectorPropsMixin.CsvFormatDescriptorProperty.Builder fileCompression(String fileCompression) - Parameters:
fileCompression- The level of compression of the source CSV file.- Returns:
this
-
headerList
@Stability(Stable) public CfnAnomalyDetectorPropsMixin.CsvFormatDescriptorProperty.Builder headerList(List<String> headerList) Sets the value ofCfnAnomalyDetectorPropsMixin.CsvFormatDescriptorProperty.getHeaderList()- Parameters:
headerList- A list of the source CSV file's headers, if any.- Returns:
this
-
quoteSymbol
@Stability(Stable) public CfnAnomalyDetectorPropsMixin.CsvFormatDescriptorProperty.Builder quoteSymbol(String quoteSymbol) - Parameters:
quoteSymbol- The character used as a quote character.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnAnomalyDetectorPropsMixin.CsvFormatDescriptorProperty>- Returns:
- a new instance of
CfnAnomalyDetectorPropsMixin.CsvFormatDescriptorProperty - Throws:
NullPointerException- if any required attribute was not provided
-