Interface DescribeMetricSetResponse.Builder

    • Method Detail

      • 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

        DescribeMetricSetResponse.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.

        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

        DescribeMetricSetResponse.Builder metricList​(Collection<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

        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.
      • 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.
      • 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:
        Frequency, Frequency
      • 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:
        Frequency, Frequency
      • timezone

        DescribeMetricSetResponse.Builder timezone​(String 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.
      • 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.