Class CfnAnomalyDetector.S3SourceConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.services.lookoutmetrics.CfnAnomalyDetector.S3SourceConfigProperty.Builder
- All Implemented Interfaces:
 software.amazon.jsii.Builder<CfnAnomalyDetector.S3SourceConfigProperty>
- Enclosing interface:
 CfnAnomalyDetector.S3SourceConfigProperty
@Stability(Stable)
public static final class CfnAnomalyDetector.S3SourceConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAnomalyDetector.S3SourceConfigProperty>
A builder for 
CfnAnomalyDetector.S3SourceConfigProperty- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.fileFormatDescriptor(IResolvable fileFormatDescriptor) Sets the value ofCfnAnomalyDetector.S3SourceConfigProperty.getFileFormatDescriptor()fileFormatDescriptor(CfnAnomalyDetector.FileFormatDescriptorProperty fileFormatDescriptor) Sets the value ofCfnAnomalyDetector.S3SourceConfigProperty.getFileFormatDescriptor()historicalDataPathList(List<String> historicalDataPathList) Sets the value ofCfnAnomalyDetector.S3SourceConfigProperty.getHistoricalDataPathList()Sets the value ofCfnAnomalyDetector.S3SourceConfigProperty.getRoleArn()templatedPathList(List<String> templatedPathList) Sets the value ofCfnAnomalyDetector.S3SourceConfigProperty.getTemplatedPathList() 
- 
Constructor Details
- 
Builder
public Builder() 
 - 
 - 
Method Details
- 
fileFormatDescriptor
@Stability(Stable) public CfnAnomalyDetector.S3SourceConfigProperty.Builder fileFormatDescriptor(IResolvable fileFormatDescriptor) Sets the value ofCfnAnomalyDetector.S3SourceConfigProperty.getFileFormatDescriptor()- Parameters:
 fileFormatDescriptor- Contains information about a source file's formatting. This parameter is required.- Returns:
 this
 - 
fileFormatDescriptor
@Stability(Stable) public CfnAnomalyDetector.S3SourceConfigProperty.Builder fileFormatDescriptor(CfnAnomalyDetector.FileFormatDescriptorProperty fileFormatDescriptor) Sets the value ofCfnAnomalyDetector.S3SourceConfigProperty.getFileFormatDescriptor()- Parameters:
 fileFormatDescriptor- Contains information about a source file's formatting. This parameter is required.- Returns:
 this
 - 
roleArn
Sets the value ofCfnAnomalyDetector.S3SourceConfigProperty.getRoleArn()- Parameters:
 roleArn- The ARN of an IAM role that has read and write access permissions to the source S3 bucket. This parameter is required.- Returns:
 this
 - 
historicalDataPathList
@Stability(Stable) public CfnAnomalyDetector.S3SourceConfigProperty.Builder historicalDataPathList(List<String> historicalDataPathList) Sets the value ofCfnAnomalyDetector.S3SourceConfigProperty.getHistoricalDataPathList()- Parameters:
 historicalDataPathList- A list of paths to the historical data files.- Returns:
 this
 - 
templatedPathList
@Stability(Stable) public CfnAnomalyDetector.S3SourceConfigProperty.Builder templatedPathList(List<String> templatedPathList) Sets the value ofCfnAnomalyDetector.S3SourceConfigProperty.getTemplatedPathList()- Parameters:
 templatedPathList- A list of templated paths to the source files.- Returns:
 this
 - 
build
Builds the configured instance.- Specified by:
 buildin interfacesoftware.amazon.jsii.Builder<CfnAnomalyDetector.S3SourceConfigProperty>- Returns:
 - a new instance of 
CfnAnomalyDetector.S3SourceConfigProperty - Throws:
 NullPointerException- if any required attribute was not provided
 
 -