public class DescribeMetricFiltersRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
DescribeMetricFiltersRequest()
Default constructor for DescribeMetricFiltersRequest object.
|
DescribeMetricFiltersRequest(String logGroupName)
Constructs a new DescribeMetricFiltersRequest object.
|
Modifier and Type | Method and Description |
---|---|
DescribeMetricFiltersRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
String |
getFilterNamePrefix()
Will only return metric filters that match the provided filterNamePrefix.
|
Integer |
getLimit()
The maximum number of items returned in the response.
|
String |
getLogGroupName()
The log group name for which metric filters are to be listed.
|
String |
getNextToken()
A string token used for pagination that points to the next page of
results.
|
int |
hashCode() |
void |
setFilterNamePrefix(String filterNamePrefix)
Will only return metric filters that match the provided filterNamePrefix.
|
void |
setLimit(Integer limit)
The maximum number of items returned in the response.
|
void |
setLogGroupName(String logGroupName)
The log group name for which metric filters are to be listed.
|
void |
setNextToken(String nextToken)
A string token used for pagination that points to the next page of
results.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeMetricFiltersRequest |
withFilterNamePrefix(String filterNamePrefix)
Will only return metric filters that match the provided filterNamePrefix.
|
DescribeMetricFiltersRequest |
withLimit(Integer limit)
The maximum number of items returned in the response.
|
DescribeMetricFiltersRequest |
withLogGroupName(String logGroupName)
The log group name for which metric filters are to be listed.
|
DescribeMetricFiltersRequest |
withNextToken(String nextToken)
A string token used for pagination that points to the next page of
results.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public DescribeMetricFiltersRequest()
public DescribeMetricFiltersRequest(String logGroupName)
logGroupName
- The log group name for which metric filters are to be listed.public void setLogGroupName(String logGroupName)
The log group name for which metric filters are to be listed.
logGroupName
- The log group name for which metric filters are to be listed.public String getLogGroupName()
The log group name for which metric filters are to be listed.
public DescribeMetricFiltersRequest withLogGroupName(String logGroupName)
The log group name for which metric filters are to be listed.
logGroupName
- The log group name for which metric filters are to be listed.public void setFilterNamePrefix(String filterNamePrefix)
Will only return metric filters that match the provided filterNamePrefix. If you don't specify a value, no prefix filter is applied.
filterNamePrefix
- Will only return metric filters that match the provided
filterNamePrefix. If you don't specify a value, no prefix filter
is applied.public String getFilterNamePrefix()
Will only return metric filters that match the provided filterNamePrefix. If you don't specify a value, no prefix filter is applied.
public DescribeMetricFiltersRequest withFilterNamePrefix(String filterNamePrefix)
Will only return metric filters that match the provided filterNamePrefix. If you don't specify a value, no prefix filter is applied.
filterNamePrefix
- Will only return metric filters that match the provided
filterNamePrefix. If you don't specify a value, no prefix filter
is applied.public void setNextToken(String nextToken)
A string token used for pagination that points to the next page of
results. It must be a value obtained from the response of the previous
DescribeMetricFilters
request.
nextToken
- A string token used for pagination that points to the next page of
results. It must be a value obtained from the response of the
previous DescribeMetricFilters
request.public String getNextToken()
A string token used for pagination that points to the next page of
results. It must be a value obtained from the response of the previous
DescribeMetricFilters
request.
DescribeMetricFilters
request.public DescribeMetricFiltersRequest withNextToken(String nextToken)
A string token used for pagination that points to the next page of
results. It must be a value obtained from the response of the previous
DescribeMetricFilters
request.
nextToken
- A string token used for pagination that points to the next page of
results. It must be a value obtained from the response of the
previous DescribeMetricFilters
request.public void setLimit(Integer limit)
The maximum number of items returned in the response. If you don't specify a value, the request would return up to 50 items.
limit
- The maximum number of items returned in the response. If you don't
specify a value, the request would return up to 50 items.public Integer getLimit()
The maximum number of items returned in the response. If you don't specify a value, the request would return up to 50 items.
public DescribeMetricFiltersRequest withLimit(Integer limit)
The maximum number of items returned in the response. If you don't specify a value, the request would return up to 50 items.
limit
- The maximum number of items returned in the response. If you don't
specify a value, the request would return up to 50 items.public String toString()
toString
in class Object
Object.toString()
public DescribeMetricFiltersRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2018. All rights reserved.