Interface DescribeMetricSetResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeMetricSetResponse.Builder,
,DescribeMetricSetResponse> LookoutMetricsResponse.Builder
,SdkBuilder<DescribeMetricSetResponse.Builder,
,DescribeMetricSetResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeMetricSetResponse
-
Method Summary
Modifier and TypeMethodDescriptionanomalyDetectorArn
(String anomalyDetectorArn) The ARN of the detector that contains the dataset.creationTime
(Instant creationTime) The time at which the dataset was created.dimensionFilterList
(Collection<MetricSetDimensionFilter> dimensionFilterList) The dimensions and their values that were used to filter the dataset.dimensionFilterList
(Consumer<MetricSetDimensionFilter.Builder>... dimensionFilterList) The dimensions and their values that were used to filter the dataset.dimensionFilterList
(MetricSetDimensionFilter... dimensionFilterList) The dimensions and their values that were used to filter the dataset.dimensionList
(String... dimensionList) A list of the dimensions chosen for analysis.dimensionList
(Collection<String> dimensionList) A list of the dimensions chosen for analysis.lastModificationTime
(Instant lastModificationTime) The time at which the dataset was last modified.metricList
(Collection<Metric> metricList) A list of the metrics defined by the dataset.metricList
(Consumer<Metric.Builder>... metricList) A list of the metrics defined by the dataset.metricList
(Metric... metricList) A list of the metrics defined by the dataset.metricSetArn
(String metricSetArn) The ARN of the dataset.metricSetDescription
(String metricSetDescription) The dataset's description.metricSetFrequency
(String metricSetFrequency) The interval at which the data will be analyzed for anomalies.metricSetFrequency
(Frequency metricSetFrequency) The interval at which the data will be analyzed for anomalies.metricSetName
(String metricSetName) The name of the dataset.metricSource
(Consumer<MetricSource.Builder> metricSource) Contains information about the dataset's source data.metricSource
(MetricSource metricSource) Contains information about the dataset's source data.After an interval ends, the amount of seconds that the detector waits before importing data.timestampColumn
(Consumer<TimestampColumn.Builder> timestampColumn) Contains information about the column used for tracking time in your source data.timestampColumn
(TimestampColumn timestampColumn) Contains information about the column used for tracking time in your source data.The time zone in which the dataset's data was recorded.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.lookoutmetrics.model.LookoutMetricsResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
metricSetArn
The ARN of the dataset.
- Parameters:
metricSetArn
- The ARN of the dataset.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
anomalyDetectorArn
The ARN of the detector that contains the dataset.
- Parameters:
anomalyDetectorArn
- The ARN of the detector that contains the dataset.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metricSetName
The name of the dataset.
- Parameters:
metricSetName
- The name of the dataset.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metricSetDescription
The dataset's description.
- Parameters:
metricSetDescription
- The dataset's description.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
creationTime
The time at which the dataset was created.
- Parameters:
creationTime
- The time at which the dataset was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastModificationTime
The time at which the dataset was last modified.
- Parameters:
lastModificationTime
- The time at which the dataset was last modified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metricList
A list of the metrics defined by the dataset.
- Parameters:
metricList
- A list of the metrics defined by the dataset.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metricList
A list of the metrics defined by the dataset.
- Parameters:
metricList
- A list of the metrics defined by the dataset.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metricList
A list of the metrics defined by the dataset.
This is a convenience method that creates an instance of theMetric.Builder
avoiding the need to create one manually viaMetric.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tometricList(List<Metric>)
.- Parameters:
metricList
- a consumer that will call methods onMetric.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
timestampColumn
Contains information about the column used for tracking time in your source data.
- Parameters:
timestampColumn
- Contains information about the column used for tracking time in your source data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
timestampColumn
default DescribeMetricSetResponse.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 viaTimestampColumn.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totimestampColumn(TimestampColumn)
.- Parameters:
timestampColumn
- a consumer that will call methods onTimestampColumn.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
dimensionList
A list of the dimensions chosen for analysis.
- Parameters:
dimensionList
- A list of the dimensions chosen for analysis.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dimensionList
A list of the dimensions chosen for analysis.
- Parameters:
dimensionList
- A list of the dimensions chosen for analysis.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metricSetFrequency
The interval at which the data will be analyzed for anomalies.
- Parameters:
metricSetFrequency
- The interval at which the data will be analyzed for anomalies.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
metricSetFrequency
The interval at which the data will be analyzed for anomalies.
- Parameters:
metricSetFrequency
- The interval at which the data will be analyzed for anomalies.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
timezone
The time zone in which the dataset's data was recorded.
- Parameters:
timezone
- The time zone in which the dataset's data was recorded.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metricSource
Contains information about the dataset's source data.
- Parameters:
metricSource
- Contains information about the dataset's source data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metricSource
Contains information about the dataset's source data.
This is a convenience method that creates an instance of theMetricSource.Builder
avoiding the need to create one manually viaMetricSource.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tometricSource(MetricSource)
.- Parameters:
metricSource
- a consumer that will call methods onMetricSource.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
dimensionFilterList
DescribeMetricSetResponse.Builder dimensionFilterList(Collection<MetricSetDimensionFilter> dimensionFilterList) The dimensions and their values that were used to filter the dataset.
- Parameters:
dimensionFilterList
- The dimensions and their values that were used to filter the dataset.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dimensionFilterList
DescribeMetricSetResponse.Builder dimensionFilterList(MetricSetDimensionFilter... dimensionFilterList) The dimensions and their values that were used to filter the dataset.
- Parameters:
dimensionFilterList
- The dimensions and their values that were used to filter the dataset.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dimensionFilterList
DescribeMetricSetResponse.Builder dimensionFilterList(Consumer<MetricSetDimensionFilter.Builder>... dimensionFilterList) The dimensions and their values that were used to filter the dataset.
This is a convenience method that creates an instance of theMetricSetDimensionFilter.Builder
avoiding the need to create one manually viaMetricSetDimensionFilter.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todimensionFilterList(List<MetricSetDimensionFilter>)
.- Parameters:
dimensionFilterList
- a consumer that will call methods onMetricSetDimensionFilter.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-