Class CfnAnomalyDetector.JsonFormatDescriptorProperty.Builder
java.lang.Object
software.amazon.awscdk.services.lookoutmetrics.CfnAnomalyDetector.JsonFormatDescriptorProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAnomalyDetector.JsonFormatDescriptorProperty>
- Enclosing interface:
CfnAnomalyDetector.JsonFormatDescriptorProperty
@Stability(Stable)
public static final class CfnAnomalyDetector.JsonFormatDescriptorProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAnomalyDetector.JsonFormatDescriptorProperty>
A builder for
CfnAnomalyDetector.JsonFormatDescriptorProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnAnomalyDetector.JsonFormatDescriptorProperty.getCharset()
fileCompression
(String fileCompression) Sets the value ofCfnAnomalyDetector.JsonFormatDescriptorProperty.getFileCompression()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
charset
@Stability(Stable) public CfnAnomalyDetector.JsonFormatDescriptorProperty.Builder charset(String charset) Sets the value ofCfnAnomalyDetector.JsonFormatDescriptorProperty.getCharset()
- Parameters:
charset
- The character set in which the source JSON file is written.- Returns:
this
-
fileCompression
@Stability(Stable) public CfnAnomalyDetector.JsonFormatDescriptorProperty.Builder fileCompression(String fileCompression) Sets the value ofCfnAnomalyDetector.JsonFormatDescriptorProperty.getFileCompression()
- Parameters:
fileCompression
- The level of compression of the source CSV file.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnAnomalyDetector.JsonFormatDescriptorProperty>
- Returns:
- a new instance of
CfnAnomalyDetector.JsonFormatDescriptorProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-