Interface DescribeMetricFiltersRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CloudWatchLogsRequest.Builder,CopyableBuilder<DescribeMetricFiltersRequest.Builder,DescribeMetricFiltersRequest>,SdkBuilder<DescribeMetricFiltersRequest.Builder,DescribeMetricFiltersRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- DescribeMetricFiltersRequest
public static interface DescribeMetricFiltersRequest.Builder extends CloudWatchLogsRequest.Builder, SdkPojo, CopyableBuilder<DescribeMetricFiltersRequest.Builder,DescribeMetricFiltersRequest>
-
-
Method Summary
-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.services.cloudwatchlogs.model.CloudWatchLogsRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
logGroupName
DescribeMetricFiltersRequest.Builder logGroupName(String 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
DescribeMetricFiltersRequest.Builder filterNamePrefix(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.- 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
DescribeMetricFiltersRequest.Builder nextToken(String 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
DescribeMetricFiltersRequest.Builder limit(Integer 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
DescribeMetricFiltersRequest.Builder metricName(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.- 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
DescribeMetricFiltersRequest.Builder metricNamespace(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.- 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
-
-