Class DescribeMetricFiltersRequest

All Implemented Interfaces:
SdkPojo, ToCopyableBuilder<DescribeMetricFiltersRequest.Builder,DescribeMetricFiltersRequest>

@Generated("software.amazon.awssdk:codegen") public final class DescribeMetricFiltersRequest extends CloudWatchLogsRequest implements ToCopyableBuilder<DescribeMetricFiltersRequest.Builder,DescribeMetricFiltersRequest>
  • Method Details

    • logGroupName

      public final String logGroupName()

      The name of the log group.

      Returns:
      The name of the log group.
    • filterNamePrefix

      public final 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.

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

      public final String nextToken()

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

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

      public final Integer limit()

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

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

      public final 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.

      Returns:
      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.
    • metricNamespace

      public final 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.

      Returns:
      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.
    • toBuilder

      Specified by:
      toBuilder in interface ToCopyableBuilder<DescribeMetricFiltersRequest.Builder,DescribeMetricFiltersRequest>
      Specified by:
      toBuilder in class CloudWatchLogsRequest
    • builder

      public static DescribeMetricFiltersRequest.Builder builder()
    • serializableBuilderClass

      public static Class<? extends DescribeMetricFiltersRequest.Builder> serializableBuilderClass()
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class AwsRequest
    • equals

      public final boolean equals(Object obj)
      Overrides:
      equals in class AwsRequest
    • equalsBySdkFields

      public final boolean equalsBySdkFields(Object obj)
      Specified by:
      equalsBySdkFields in interface SdkPojo
    • toString

      public final String toString()
      Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
      Overrides:
      toString in class Object
    • getValueForField

      public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
      Overrides:
      getValueForField in class SdkRequest
    • sdkFields

      public final List<SdkField<?>> sdkFields()
      Specified by:
      sdkFields in interface SdkPojo
    • sdkFieldNameToField

      public final Map<String,SdkField<?>> sdkFieldNameToField()
      Specified by:
      sdkFieldNameToField in interface SdkPojo