@Stability(value=Stable)
public static interface CfnAnomalyDetector.S3SourceConfigProperty
extends software.amazon.jsii.JsiiSerializable
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.lookoutmetrics.*;
S3SourceConfigProperty s3SourceConfigProperty = S3SourceConfigProperty.builder()
.fileFormatDescriptor(FileFormatDescriptorProperty.builder()
.csvFormatDescriptor(CsvFormatDescriptorProperty.builder()
.charset("charset")
.containsHeader(false)
.delimiter("delimiter")
.fileCompression("fileCompression")
.headerList(List.of("headerList"))
.quoteSymbol("quoteSymbol")
.build())
.jsonFormatDescriptor(JsonFormatDescriptorProperty.builder()
.charset("charset")
.fileCompression("fileCompression")
.build())
.build())
.roleArn("roleArn")
// the properties below are optional
.historicalDataPathList(List.of("historicalDataPathList"))
.templatedPathList(List.of("templatedPathList"))
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnAnomalyDetector.S3SourceConfigProperty.Builder
A builder for
CfnAnomalyDetector.S3SourceConfigProperty |
static class |
CfnAnomalyDetector.S3SourceConfigProperty.Jsii$Proxy
An implementation for
CfnAnomalyDetector.S3SourceConfigProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnAnomalyDetector.S3SourceConfigProperty.Builder |
builder() |
Object |
getFileFormatDescriptor()
Contains information about a source file's formatting.
|
default List<String> |
getHistoricalDataPathList()
A list of paths to the historical data files.
|
String |
getRoleArn()
The ARN of an IAM role that has read and write access permissions to the source S3 bucket.
|
default List<String> |
getTemplatedPathList()
A list of templated paths to the source files.
|
@Stability(value=Stable) @NotNull Object getFileFormatDescriptor()
@Stability(value=Stable) @NotNull String getRoleArn()
@Stability(value=Stable) @Nullable default List<String> getHistoricalDataPathList()
@Stability(value=Stable) @Nullable default List<String> getTemplatedPathList()
@Stability(value=Stable) static CfnAnomalyDetector.S3SourceConfigProperty.Builder builder()
Copyright © 2022. All rights reserved.