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 Details

    • metricSetArn

      DescribeMetricSetResponse.Builder metricSetArn(String 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

      DescribeMetricSetResponse.Builder anomalyDetectorArn(String 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

      DescribeMetricSetResponse.Builder metricSetName(String 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

      DescribeMetricSetResponse.Builder metricSetDescription(String 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

      DescribeMetricSetResponse.Builder creationTime(Instant 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

      DescribeMetricSetResponse.Builder lastModificationTime(Instant 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

      DescribeMetricSetResponse.Builder metricList(Metric... 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 the Metric.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<Metric>).

      Parameters:
      metricList - a consumer that will call methods on Metric.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • timestampColumn

      DescribeMetricSetResponse.Builder timestampColumn(TimestampColumn 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 the TimestampColumn.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).

      Parameters:
      timestampColumn - a consumer that will call methods on TimestampColumn.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • dimensionList

      DescribeMetricSetResponse.Builder dimensionList(Collection<String> 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

      DescribeMetricSetResponse.Builder dimensionList(String... 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

      DescribeMetricSetResponse.Builder metricSetFrequency(String 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

      DescribeMetricSetResponse.Builder metricSetFrequency(Frequency 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

      DescribeMetricSetResponse.Builder metricSource(MetricSource 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

      default DescribeMetricSetResponse.Builder metricSource(Consumer<MetricSource.Builder> metricSource)

      Contains information about the dataset's source data.

      This is a convenience method that creates an instance of the MetricSource.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).

      Parameters:
      metricSource - a consumer that will call methods on MetricSource.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 the MetricSetDimensionFilter.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<MetricSetDimensionFilter>).

      Parameters:
      dimensionFilterList - a consumer that will call methods on MetricSetDimensionFilter.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: