@Generated(value="software.amazon.awssdk:codegen") public final class DescribeMetricFiltersRequest extends CloudWatchLogsRequest implements ToCopyableBuilder<DescribeMetricFiltersRequest.Builder,DescribeMetricFiltersRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
DescribeMetricFiltersRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static DescribeMetricFiltersRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
String |
filterNamePrefix()
The prefix to match.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Integer |
limit()
The maximum number of items returned.
|
String |
logGroupName()
The name of the log group.
|
String |
metricName()
Filters results to include only those with the specified metric name.
|
String |
metricNamespace()
Filters results to include only those in the specified namespace.
|
String |
nextToken()
The token for the next set of items to return.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends DescribeMetricFiltersRequest.Builder> |
serializableBuilderClass() |
DescribeMetricFiltersRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String logGroupName()
The name of the log group.
public final String filterNamePrefix()
The prefix to match. CloudWatch Logs uses the value you set here only if you also include the
logGroupName parameter in your request.
logGroupName parameter in your request.public final String nextToken()
The token for the next set of items to return. (You received this token from a previous call.)
public final Integer limit()
The maximum number of items returned. If you don't specify a value, the default is up to 50 items.
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.
metricNamespace parameter.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.
metricName parameter.public DescribeMetricFiltersRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<DescribeMetricFiltersRequest.Builder,DescribeMetricFiltersRequest>toBuilder in class CloudWatchLogsRequestpublic static DescribeMetricFiltersRequest.Builder builder()
public static Class<? extends DescribeMetricFiltersRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2022. All rights reserved.