Class DescribeMetricFiltersRequest
java.lang.Object
software.amazon.awssdk.core.SdkRequest
software.amazon.awssdk.awscore.AwsRequest
software.amazon.awssdk.services.cloudwatchlogs.model.CloudWatchLogsRequest
software.amazon.awssdk.services.cloudwatchlogs.model.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>
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) final StringThe prefix to match.final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final Integerlimit()The maximum number of items returned.final StringThe name of the log group.final StringFilters results to include only those with the specified metric name.final StringFilters results to include only those in the specified namespace.final StringThe token for the next set of items to return.static Class<? extends DescribeMetricFiltersRequest.Builder>final StringtoString()Returns a string representation of this object.Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfigurationMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
logGroupName
The name of the log group.
- Returns:
- The name of the log group.
-
filterNamePrefix
The prefix to match. CloudWatch Logs uses the value that you set here only if you also include the
logGroupNameparameter in your request.- Returns:
- The prefix to match. CloudWatch Logs uses the value that you set here only if you also include the
logGroupNameparameter in your request.
-
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
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
Filters results to include only those with the specified metric name. If you include this parameter in your request, you must also include the
metricNamespaceparameter.- 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
metricNamespaceparameter.
-
metricNamespace
Filters results to include only those in the specified namespace. If you include this parameter in your request, you must also include the
metricNameparameter.- Returns:
- Filters results to include only those in the specified namespace. If you include this parameter in your
request, you must also include the
metricNameparameter.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<DescribeMetricFiltersRequest.Builder,DescribeMetricFiltersRequest> - Specified by:
toBuilderin classCloudWatchLogsRequest
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode()- Overrides:
hashCodein classAwsRequest
-
equals
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
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. -
getValueForField
- Overrides:
getValueForFieldin classSdkRequest
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-