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