Interface MetricFilter.Builder

    • Method Detail

      • filterName

        MetricFilter.Builder filterName​(String filterName)

        The name of the metric filter.

        Parameters:
        filterName - The name of the metric filter.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • filterPattern

        MetricFilter.Builder filterPattern​(String filterPattern)
        Sets the value of the FilterPattern property for this object.
        Parameters:
        filterPattern - The new value for the FilterPattern property for this object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • metricTransformations

        MetricFilter.Builder metricTransformations​(Collection<MetricTransformation> metricTransformations)

        The metric transformations.

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

        MetricFilter.Builder metricTransformations​(MetricTransformation... metricTransformations)

        The metric transformations.

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

        MetricFilter.Builder creationTime​(Long creationTime)

        The creation time of the metric filter, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.

        Parameters:
        creationTime - The creation time of the metric filter, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • logGroupName

        MetricFilter.Builder logGroupName​(String logGroupName)

        The name of the log group.

        Parameters:
        logGroupName - The name of the log group.
        Returns:
        Returns a reference to this object so that method calls can be chained together.