Class CfnAnomalyDetectorPropsMixin.FileFormatDescriptorProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.lookoutmetrics.CfnAnomalyDetectorPropsMixin.FileFormatDescriptorProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAnomalyDetectorPropsMixin.FileFormatDescriptorProperty>
- Enclosing interface:
CfnAnomalyDetectorPropsMixin.FileFormatDescriptorProperty
@Stability(Stable)
public static final class CfnAnomalyDetectorPropsMixin.FileFormatDescriptorProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAnomalyDetectorPropsMixin.FileFormatDescriptorProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.csvFormatDescriptor(CfnAnomalyDetectorPropsMixin.CsvFormatDescriptorProperty csvFormatDescriptor) csvFormatDescriptor(IResolvable csvFormatDescriptor) jsonFormatDescriptor(CfnAnomalyDetectorPropsMixin.JsonFormatDescriptorProperty jsonFormatDescriptor) jsonFormatDescriptor(IResolvable jsonFormatDescriptor)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
csvFormatDescriptor
@Stability(Stable) public CfnAnomalyDetectorPropsMixin.FileFormatDescriptorProperty.Builder csvFormatDescriptor(IResolvable csvFormatDescriptor) Sets the value ofCfnAnomalyDetectorPropsMixin.FileFormatDescriptorProperty.getCsvFormatDescriptor()- Parameters:
csvFormatDescriptor- Contains information about how a source CSV data file should be analyzed.- Returns:
this
-
csvFormatDescriptor
@Stability(Stable) public CfnAnomalyDetectorPropsMixin.FileFormatDescriptorProperty.Builder csvFormatDescriptor(CfnAnomalyDetectorPropsMixin.CsvFormatDescriptorProperty csvFormatDescriptor) Sets the value ofCfnAnomalyDetectorPropsMixin.FileFormatDescriptorProperty.getCsvFormatDescriptor()- Parameters:
csvFormatDescriptor- Contains information about how a source CSV data file should be analyzed.- Returns:
this
-
jsonFormatDescriptor
@Stability(Stable) public CfnAnomalyDetectorPropsMixin.FileFormatDescriptorProperty.Builder jsonFormatDescriptor(IResolvable jsonFormatDescriptor) Sets the value ofCfnAnomalyDetectorPropsMixin.FileFormatDescriptorProperty.getJsonFormatDescriptor()- Parameters:
jsonFormatDescriptor- Contains information about how a source JSON data file should be analyzed.- Returns:
this
-
jsonFormatDescriptor
@Stability(Stable) public CfnAnomalyDetectorPropsMixin.FileFormatDescriptorProperty.Builder jsonFormatDescriptor(CfnAnomalyDetectorPropsMixin.JsonFormatDescriptorProperty jsonFormatDescriptor) Sets the value ofCfnAnomalyDetectorPropsMixin.FileFormatDescriptorProperty.getJsonFormatDescriptor()- Parameters:
jsonFormatDescriptor- Contains information about how a source JSON data file should be analyzed.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnAnomalyDetectorPropsMixin.FileFormatDescriptorProperty>- Returns:
- a new instance of
CfnAnomalyDetectorPropsMixin.FileFormatDescriptorProperty - Throws:
NullPointerException- if any required attribute was not provided
-