Interface DescribeMetricFiltersRequest.Builder

    • Method Detail

      • logGroupName

        DescribeMetricFiltersRequest.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.
      • filterNamePrefix

        DescribeMetricFiltersRequest.Builder filterNamePrefix​(String filterNamePrefix)

        The prefix to match. CloudWatch Logs uses the value that you set here only if you also include the logGroupName parameter in your request.

        Parameters:
        filterNamePrefix - The prefix to match. CloudWatch Logs uses the value that you set here only if you also include the logGroupName parameter in your request.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • nextToken

        DescribeMetricFiltersRequest.Builder nextToken​(String nextToken)

        The token for the next set of items to return. (You received this token from a previous call.)

        Parameters:
        nextToken - The token for the next set of items to return. (You received this token from a previous call.)
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • limit

        DescribeMetricFiltersRequest.Builder limit​(Integer limit)

        The maximum number of items returned. If you don't specify a value, the default is up to 50 items.

        Parameters:
        limit - The maximum number of items returned. If you don't specify a value, the default is up to 50 items.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • metricName

        DescribeMetricFiltersRequest.Builder metricName​(String metricName)

        Filters results to include only those with the specified metric name. If you include this parameter in your request, you must also include the metricNamespace parameter.

        Parameters:
        metricName - Filters results to include only those with the specified metric name. If you include this parameter in your request, you must also include the metricNamespace parameter.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • metricNamespace

        DescribeMetricFiltersRequest.Builder metricNamespace​(String metricNamespace)

        Filters results to include only those in the specified namespace. If you include this parameter in your request, you must also include the metricName parameter.

        Parameters:
        metricNamespace - Filters results to include only those in the specified namespace. If you include this parameter in your request, you must also include the metricName parameter.
        Returns:
        Returns a reference to this object so that method calls can be chained together.