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 Modifier and Type Class Description static interfaceDescribeMetricFiltersRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DescribeMetricFiltersRequest.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)StringfilterNamePrefix()The prefix to match.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Integerlimit()The maximum number of items returned.StringlogGroupName()The name of the log group.StringmetricName()Filters results to include only those with the specified metric name.StringmetricNamespace()Filters results to include only those in the specified namespace.StringnextToken()The token for the next set of items to return.List<SdkField<?>>sdkFields()static Class<? extends DescribeMetricFiltersRequest.Builder>serializableBuilderClass()DescribeMetricFiltersRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
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
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
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
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
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
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
public DescribeMetricFiltersRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<DescribeMetricFiltersRequest.Builder,DescribeMetricFiltersRequest>- Specified by:
toBuilderin classCloudWatchLogsRequest
-
builder
public static DescribeMetricFiltersRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends DescribeMetricFiltersRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
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.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
-