public static final class CfnAnomalyDetector.S3SourceConfigProperty.Builder
extends java.lang.Object
CfnAnomalyDetector.S3SourceConfigProperty
Constructor and Description |
---|
Builder() |
public CfnAnomalyDetector.S3SourceConfigProperty.Builder fileFormatDescriptor(IResolvable fileFormatDescriptor)
CfnAnomalyDetector.S3SourceConfigProperty.getFileFormatDescriptor()
fileFormatDescriptor
- Contains information about a source file's formatting. This parameter is required.this
public CfnAnomalyDetector.S3SourceConfigProperty.Builder fileFormatDescriptor(CfnAnomalyDetector.FileFormatDescriptorProperty fileFormatDescriptor)
CfnAnomalyDetector.S3SourceConfigProperty.getFileFormatDescriptor()
fileFormatDescriptor
- Contains information about a source file's formatting. This parameter is required.this
public CfnAnomalyDetector.S3SourceConfigProperty.Builder roleArn(java.lang.String roleArn)
CfnAnomalyDetector.S3SourceConfigProperty.getRoleArn()
roleArn
- The ARN of an IAM role that has read and write access permissions to the source S3 bucket. This parameter is required.this
public CfnAnomalyDetector.S3SourceConfigProperty.Builder historicalDataPathList(java.util.List<java.lang.String> historicalDataPathList)
CfnAnomalyDetector.S3SourceConfigProperty.getHistoricalDataPathList()
historicalDataPathList
- A list of paths to the historical data files.this
public CfnAnomalyDetector.S3SourceConfigProperty.Builder templatedPathList(java.util.List<java.lang.String> templatedPathList)
CfnAnomalyDetector.S3SourceConfigProperty.getTemplatedPathList()
templatedPathList
- A list of templated paths to the source files.this
public CfnAnomalyDetector.S3SourceConfigProperty build()
CfnAnomalyDetector.S3SourceConfigProperty
java.lang.NullPointerException
- if any required attribute was not provided