@Stability(value=Stable)
public static interface CfnAnomalyDetector.MetricSetProperty
extends software.amazon.jsii.JsiiSerializable
// 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.*;
MetricSetProperty metricSetProperty = MetricSetProperty.builder()
.metricList(List.of(MetricProperty.builder()
.aggregationFunction("aggregationFunction")
.metricName("metricName")
// the properties below are optional
.namespace("namespace")
.build()))
.metricSetName("metricSetName")
.metricSource(MetricSourceProperty.builder()
.appFlowConfig(AppFlowConfigProperty.builder()
.flowName("flowName")
.roleArn("roleArn")
.build())
.cloudwatchConfig(CloudwatchConfigProperty.builder()
.roleArn("roleArn")
.build())
.rdsSourceConfig(RDSSourceConfigProperty.builder()
.databaseHost("databaseHost")
.databaseName("databaseName")
.databasePort(123)
.dbInstanceIdentifier("dbInstanceIdentifier")
.roleArn("roleArn")
.secretManagerArn("secretManagerArn")
.tableName("tableName")
.vpcConfiguration(VpcConfigurationProperty.builder()
.securityGroupIdList(List.of("securityGroupIdList"))
.subnetIdList(List.of("subnetIdList"))
.build())
.build())
.redshiftSourceConfig(RedshiftSourceConfigProperty.builder()
.clusterIdentifier("clusterIdentifier")
.databaseHost("databaseHost")
.databaseName("databaseName")
.databasePort(123)
.roleArn("roleArn")
.secretManagerArn("secretManagerArn")
.tableName("tableName")
.vpcConfiguration(VpcConfigurationProperty.builder()
.securityGroupIdList(List.of("securityGroupIdList"))
.subnetIdList(List.of("subnetIdList"))
.build())
.build())
.s3SourceConfig(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())
.build())
// the properties below are optional
.dimensionList(List.of("dimensionList"))
.metricSetDescription("metricSetDescription")
.metricSetFrequency("metricSetFrequency")
.offset(123)
.timestampColumn(TimestampColumnProperty.builder()
.columnFormat("columnFormat")
.columnName("columnName")
.build())
.timezone("timezone")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnAnomalyDetector.MetricSetProperty.Builder
A builder for
CfnAnomalyDetector.MetricSetProperty |
static class |
CfnAnomalyDetector.MetricSetProperty.Jsii$Proxy
An implementation for
CfnAnomalyDetector.MetricSetProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnAnomalyDetector.MetricSetProperty.Builder |
builder() |
default List<String> |
getDimensionList()
`CfnAnomalyDetector.MetricSetProperty.DimensionList`.
|
Object |
getMetricList()
`CfnAnomalyDetector.MetricSetProperty.MetricList`.
|
default String |
getMetricSetDescription()
`CfnAnomalyDetector.MetricSetProperty.MetricSetDescription`.
|
default String |
getMetricSetFrequency()
`CfnAnomalyDetector.MetricSetProperty.MetricSetFrequency`.
|
String |
getMetricSetName()
`CfnAnomalyDetector.MetricSetProperty.MetricSetName`.
|
Object |
getMetricSource()
`CfnAnomalyDetector.MetricSetProperty.MetricSource`.
|
default Number |
getOffset()
`CfnAnomalyDetector.MetricSetProperty.Offset`.
|
default Object |
getTimestampColumn()
`CfnAnomalyDetector.MetricSetProperty.TimestampColumn`.
|
default String |
getTimezone()
`CfnAnomalyDetector.MetricSetProperty.Timezone`.
|
@Stability(value=Stable) @Nullable default List<String> getDimensionList()
@Stability(value=Stable) @NotNull Object getMetricList()
@Stability(value=Stable) @Nullable default String getMetricSetDescription()
@Stability(value=Stable) @Nullable default String getMetricSetFrequency()
@Stability(value=Stable) @NotNull String getMetricSetName()
@Stability(value=Stable) @NotNull Object getMetricSource()
@Stability(value=Stable) @Nullable default Number getOffset()
@Stability(value=Stable) @Nullable default Object getTimestampColumn()
@Stability(value=Stable) @Nullable default String getTimezone()
@Stability(value=Stable) static CfnAnomalyDetector.MetricSetProperty.Builder builder()
Copyright © 2021. All rights reserved.