Interface UpdateMetricSetRequest.Builder

    • Method Detail

      • metricSetArn

        UpdateMetricSetRequest.Builder metricSetArn​(String metricSetArn)

        The ARN of the dataset to update.

        Parameters:
        metricSetArn - The ARN of the dataset to update.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • metricSetDescription

        UpdateMetricSetRequest.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.
      • metricList

        UpdateMetricSetRequest.Builder metricList​(Collection<Metric> metricList)

        The metric list.

        Parameters:
        metricList - The metric list.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • metricList

        UpdateMetricSetRequest.Builder metricList​(Metric... metricList)

        The metric list.

        Parameters:
        metricList - The metric list.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • offset

        UpdateMetricSetRequest.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.
      • timestampColumn

        UpdateMetricSetRequest.Builder timestampColumn​(TimestampColumn timestampColumn)

        The timestamp column.

        Parameters:
        timestampColumn - The timestamp column.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • dimensionList

        UpdateMetricSetRequest.Builder dimensionList​(Collection<String> dimensionList)

        The dimension list.

        Parameters:
        dimensionList - The dimension list.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • dimensionList

        UpdateMetricSetRequest.Builder dimensionList​(String... dimensionList)

        The dimension list.

        Parameters:
        dimensionList - The dimension list.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • metricSetFrequency

        UpdateMetricSetRequest.Builder metricSetFrequency​(String metricSetFrequency)

        The dataset's interval.

        Parameters:
        metricSetFrequency - The dataset's interval.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        Frequency, Frequency
      • metricSetFrequency

        UpdateMetricSetRequest.Builder metricSetFrequency​(Frequency metricSetFrequency)

        The dataset's interval.

        Parameters:
        metricSetFrequency - The dataset's interval.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        Frequency, Frequency
      • metricSource

        UpdateMetricSetRequest.Builder metricSource​(MetricSource metricSource)
        Sets the value of the MetricSource property for this object.
        Parameters:
        metricSource - The new value for the MetricSource property for this object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • dimensionFilterList

        UpdateMetricSetRequest.Builder dimensionFilterList​(Collection<MetricSetDimensionFilter> dimensionFilterList)

        Describes a list of filters for choosing specific dimensions and specific values. Each filter consists of the dimension and one of its values that you want to include. When multiple dimensions or values are specified, the dimensions are joined with an AND operation and the values are joined with an OR operation.

        Parameters:
        dimensionFilterList - Describes a list of filters for choosing specific dimensions and specific values. Each filter consists of the dimension and one of its values that you want to include. When multiple dimensions or values are specified, the dimensions are joined with an AND operation and the values are joined with an OR operation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • dimensionFilterList

        UpdateMetricSetRequest.Builder dimensionFilterList​(MetricSetDimensionFilter... dimensionFilterList)

        Describes a list of filters for choosing specific dimensions and specific values. Each filter consists of the dimension and one of its values that you want to include. When multiple dimensions or values are specified, the dimensions are joined with an AND operation and the values are joined with an OR operation.

        Parameters:
        dimensionFilterList - Describes a list of filters for choosing specific dimensions and specific values. Each filter consists of the dimension and one of its values that you want to include. When multiple dimensions or values are specified, the dimensions are joined with an AND operation and the values are joined with an OR operation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • dimensionFilterList

        UpdateMetricSetRequest.Builder dimensionFilterList​(Consumer<MetricSetDimensionFilter.Builder>... dimensionFilterList)

        Describes a list of filters for choosing specific dimensions and specific values. Each filter consists of the dimension and one of its values that you want to include. When multiple dimensions or values are specified, the dimensions are joined with an AND operation and the values are joined with an OR operation.

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

        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:
        #dimensionFilterList(java.util.Collection)