Interface DescribeMetricFiltersRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CloudWatchLogsRequest.Builder,CopyableBuilder<DescribeMetricFiltersRequest.Builder,,DescribeMetricFiltersRequest> SdkBuilder<DescribeMetricFiltersRequest.Builder,,DescribeMetricFiltersRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
- DescribeMetricFiltersRequest
@Mutable
@NotThreadSafe
public static interface DescribeMetricFiltersRequest.Builder
extends CloudWatchLogsRequest.Builder, SdkPojo, CopyableBuilder<DescribeMetricFiltersRequest.Builder,DescribeMetricFiltersRequest>
-
Method Summary
Modifier and TypeMethodDescriptionfilterNamePrefix(String filterNamePrefix) The prefix to match.The maximum number of items returned.logGroupName(String logGroupName) The name of the log group.metricName(String metricName) Filters results to include only those with the specified metric name.metricNamespace(String metricNamespace) Filters results to include only those in the specified namespace.The token for the next set of items to return.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.cloudwatchlogs.model.CloudWatchLogsRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
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
The prefix to match. CloudWatch Logs uses the value that you set here only if you also include the
logGroupNameparameter in your request.- Parameters:
filterNamePrefix- The prefix to match. CloudWatch Logs uses the value that you set here only if you also include thelogGroupNameparameter in your request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
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
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.- 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 themetricNamespaceparameter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.- Parameters:
metricNamespace- Filters results to include only those in the specified namespace. If you include this parameter in your request, you must also include themetricNameparameter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
DescribeMetricFiltersRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) - Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
DescribeMetricFiltersRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) - Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-