public static interface CreateMetricSetRequest.Builder extends LookoutMetricsRequest.Builder, SdkPojo, CopyableBuilder<CreateMetricSetRequest.Builder,CreateMetricSetRequest>
| Modifier and Type | Method and Description |
|---|---|
CreateMetricSetRequest.Builder |
anomalyDetectorArn(String anomalyDetectorArn)
The ARN of the anomaly detector that will use the dataset.
|
CreateMetricSetRequest.Builder |
dimensionFilterList(Collection<MetricSetDimensionFilter> dimensionFilterList)
A list of filters that specify which data is kept for anomaly detection.
|
CreateMetricSetRequest.Builder |
dimensionFilterList(Consumer<MetricSetDimensionFilter.Builder>... dimensionFilterList)
A list of filters that specify which data is kept for anomaly detection.
|
CreateMetricSetRequest.Builder |
dimensionFilterList(MetricSetDimensionFilter... dimensionFilterList)
A list of filters that specify which data is kept for anomaly detection.
|
CreateMetricSetRequest.Builder |
dimensionList(Collection<String> dimensionList)
A list of the fields you want to treat as dimensions.
|
CreateMetricSetRequest.Builder |
dimensionList(String... dimensionList)
A list of the fields you want to treat as dimensions.
|
CreateMetricSetRequest.Builder |
metricList(Collection<Metric> metricList)
A list of metrics that the dataset will contain.
|
CreateMetricSetRequest.Builder |
metricList(Consumer<Metric.Builder>... metricList)
A list of metrics that the dataset will contain.
|
CreateMetricSetRequest.Builder |
metricList(Metric... metricList)
A list of metrics that the dataset will contain.
|
CreateMetricSetRequest.Builder |
metricSetDescription(String metricSetDescription)
A description of the dataset you are creating.
|
CreateMetricSetRequest.Builder |
metricSetFrequency(Frequency metricSetFrequency)
The frequency with which the source data will be analyzed for anomalies.
|
CreateMetricSetRequest.Builder |
metricSetFrequency(String metricSetFrequency)
The frequency with which the source data will be analyzed for anomalies.
|
CreateMetricSetRequest.Builder |
metricSetName(String metricSetName)
The name of the dataset.
|
default CreateMetricSetRequest.Builder |
metricSource(Consumer<MetricSource.Builder> metricSource)
Contains information about how the source data should be interpreted.
|
CreateMetricSetRequest.Builder |
metricSource(MetricSource metricSource)
Contains information about how the source data should be interpreted.
|
CreateMetricSetRequest.Builder |
offset(Integer offset)
After an interval ends, the amount of seconds that the detector waits before importing data.
|
CreateMetricSetRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
CreateMetricSetRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
CreateMetricSetRequest.Builder |
tags(Map<String,String> tags)
A list of tags to
apply to the dataset.
|
default CreateMetricSetRequest.Builder |
timestampColumn(Consumer<TimestampColumn.Builder> timestampColumn)
Contains information about the column used for tracking time in your source data.
|
CreateMetricSetRequest.Builder |
timestampColumn(TimestampColumn timestampColumn)
Contains information about the column used for tracking time in your source data.
|
CreateMetricSetRequest.Builder |
timezone(String timezone)
The time zone in which your source data was recorded.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateMetricSetRequest.Builder anomalyDetectorArn(String anomalyDetectorArn)
The ARN of the anomaly detector that will use the dataset.
anomalyDetectorArn - The ARN of the anomaly detector that will use the dataset.CreateMetricSetRequest.Builder metricSetName(String metricSetName)
The name of the dataset.
metricSetName - The name of the dataset.CreateMetricSetRequest.Builder metricSetDescription(String metricSetDescription)
A description of the dataset you are creating.
metricSetDescription - A description of the dataset you are creating.CreateMetricSetRequest.Builder metricList(Collection<Metric> metricList)
A list of metrics that the dataset will contain.
metricList - A list of metrics that the dataset will contain.CreateMetricSetRequest.Builder metricList(Metric... metricList)
A list of metrics that the dataset will contain.
metricList - A list of metrics that the dataset will contain.CreateMetricSetRequest.Builder metricList(Consumer<Metric.Builder>... metricList)
A list of metrics that the dataset will contain.
This is a convenience method that creates an instance of theMetric.Builder avoiding the need to create one
manually via Metric.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and
its result is passed to #metricList(List.
metricList - a consumer that will call methods on
Metric.Builder#metricList(java.util.Collection) CreateMetricSetRequest.Builder offset(Integer offset)
After an interval ends, the amount of seconds that the detector waits before importing data. Offset is only supported for S3, Redshift, Athena and datasources.
offset - After an interval ends, the amount of seconds that the detector waits before importing data. Offset is
only supported for S3, Redshift, Athena and datasources.CreateMetricSetRequest.Builder timestampColumn(TimestampColumn timestampColumn)
Contains information about the column used for tracking time in your source data.
timestampColumn - Contains information about the column used for tracking time in your source data.default CreateMetricSetRequest.Builder timestampColumn(Consumer<TimestampColumn.Builder> timestampColumn)
Contains information about the column used for tracking time in your source data.
This is a convenience method that creates an instance of theTimestampColumn.Builder avoiding the
need to create one manually via TimestampColumn.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to timestampColumn(TimestampColumn).
timestampColumn - a consumer that will call methods on TimestampColumn.BuildertimestampColumn(TimestampColumn)CreateMetricSetRequest.Builder dimensionList(Collection<String> dimensionList)
A list of the fields you want to treat as dimensions.
dimensionList - A list of the fields you want to treat as dimensions.CreateMetricSetRequest.Builder dimensionList(String... dimensionList)
A list of the fields you want to treat as dimensions.
dimensionList - A list of the fields you want to treat as dimensions.CreateMetricSetRequest.Builder metricSetFrequency(String metricSetFrequency)
The frequency with which the source data will be analyzed for anomalies.
CreateMetricSetRequest.Builder metricSetFrequency(Frequency metricSetFrequency)
The frequency with which the source data will be analyzed for anomalies.
CreateMetricSetRequest.Builder metricSource(MetricSource metricSource)
Contains information about how the source data should be interpreted.
metricSource - Contains information about how the source data should be interpreted.default CreateMetricSetRequest.Builder metricSource(Consumer<MetricSource.Builder> metricSource)
Contains information about how the source data should be interpreted.
This is a convenience method that creates an instance of theMetricSource.Builder avoiding the need
to create one manually via MetricSource.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to metricSource(MetricSource).
metricSource - a consumer that will call methods on MetricSource.BuildermetricSource(MetricSource)CreateMetricSetRequest.Builder timezone(String timezone)
The time zone in which your source data was recorded.
timezone - The time zone in which your source data was recorded.CreateMetricSetRequest.Builder tags(Map<String,String> tags)
A list of tags to apply to the dataset.
tags - A list of tags
to apply to the dataset.CreateMetricSetRequest.Builder dimensionFilterList(Collection<MetricSetDimensionFilter> dimensionFilterList)
A list of filters that specify which data is kept for anomaly detection.
dimensionFilterList - A list of filters that specify which data is kept for anomaly detection.CreateMetricSetRequest.Builder dimensionFilterList(MetricSetDimensionFilter... dimensionFilterList)
A list of filters that specify which data is kept for anomaly detection.
dimensionFilterList - A list of filters that specify which data is kept for anomaly detection.CreateMetricSetRequest.Builder dimensionFilterList(Consumer<MetricSetDimensionFilter.Builder>... dimensionFilterList)
A list of filters that specify which data is kept for anomaly detection.
This is a convenience method that creates an instance of theMetricSetDimensionFilter.Builder avoiding the
need to create one manually via
MetricSetDimensionFilter.builder().
When the Consumer completes,
SdkBuilder.build() is
called immediately and its result is passed to #dimensionFilterList(List.
dimensionFilterList - a consumer that will call methods on
MetricSetDimensionFilter.Builder#dimensionFilterList(java.util.Collection) CreateMetricSetRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderCreateMetricSetRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.