@Generated(value="com.amazonaws:aws-java-sdk-code-generator") 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() |
boolean |
equals(Object obj) |
String |
getFilterNamePrefix()
The prefix to match.
|
Integer |
getLimit()
The maximum number of items returned.
|
String |
getLogGroupName()
The name of the log group.
|
String |
getMetricName()
Filters results to include only those with the specified metric name.
|
String |
getMetricNamespace()
Filters results to include only those in the specified namespace.
|
String |
getNextToken()
The token for the next set of items to return.
|
int |
hashCode() |
void |
setFilterNamePrefix(String filterNamePrefix)
The prefix to match.
|
void |
setLimit(Integer limit)
The maximum number of items returned.
|
void |
setLogGroupName(String logGroupName)
The name of the log group.
|
void |
setMetricName(String metricName)
Filters results to include only those with the specified metric name.
|
void |
setMetricNamespace(String metricNamespace)
Filters results to include only those in the specified namespace.
|
void |
setNextToken(String nextToken)
The token for the next set of items to return.
|
String |
toString()
Returns a string representation of this object.
|
DescribeMetricFiltersRequest |
withFilterNamePrefix(String filterNamePrefix)
The prefix to match.
|
DescribeMetricFiltersRequest |
withLimit(Integer limit)
The maximum number of items returned.
|
DescribeMetricFiltersRequest |
withLogGroupName(String logGroupName)
The name of the log group.
|
DescribeMetricFiltersRequest |
withMetricName(String metricName)
Filters results to include only those with the specified metric name.
|
DescribeMetricFiltersRequest |
withMetricNamespace(String metricNamespace)
Filters results to include only those in the specified namespace.
|
DescribeMetricFiltersRequest |
withNextToken(String nextToken)
The token for the next set of items to return.
|
addHandlerContext, copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic DescribeMetricFiltersRequest()
public DescribeMetricFiltersRequest(String logGroupName)
logGroupName - The name of the log group.public void setLogGroupName(String logGroupName)
The name of the log group.
logGroupName - The name of the log group.public String getLogGroupName()
The name of the log group.
public DescribeMetricFiltersRequest withLogGroupName(String logGroupName)
The name of the log group.
logGroupName - The name of the log group.public void setFilterNamePrefix(String filterNamePrefix)
The prefix to match.
filterNamePrefix - The prefix to match.public String getFilterNamePrefix()
The prefix to match.
public DescribeMetricFiltersRequest withFilterNamePrefix(String filterNamePrefix)
The prefix to match.
filterNamePrefix - The prefix to match.public void setNextToken(String nextToken)
The token for the next set of items to return. (You received this token from a previous call.)
nextToken - The token for the next set of items to return. (You received this token from a previous call.)public String getNextToken()
The token for the next set of items to return. (You received this token from a previous call.)
public DescribeMetricFiltersRequest withNextToken(String nextToken)
The token for the next set of items to return. (You received this token from a previous call.)
nextToken - The token for the next set of items to return. (You received this token from a previous call.)public void setLimit(Integer limit)
The maximum number of items returned. If you don't specify a value, the default is up to 50 items.
limit - The maximum number of items returned. If you don't specify a value, the default is up to 50 items.public Integer getLimit()
The maximum number of items returned. If you don't specify a value, the default is up to 50 items.
public DescribeMetricFiltersRequest withLimit(Integer limit)
The maximum number of items returned. If you don't specify a value, the default is up to 50 items.
limit - The maximum number of items returned. If you don't specify a value, the default is up to 50 items.public void setMetricName(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.
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.public String getMetricName()
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 DescribeMetricFiltersRequest withMetricName(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.
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.public void setMetricNamespace(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.
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.public String getMetricNamespace()
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 withMetricNamespace(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.
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.public String toString()
toString in class ObjectObject.toString()public DescribeMetricFiltersRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2019. All rights reserved.