@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()
Creates a shallow clone of this object for all fields except the handler context.
|
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() |
String |
getMetricNamespace()
The namespace of the CloudWatch metric.
|
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) |
void |
setMetricNamespace(String metricNamespace)
The namespace of the CloudWatch metric.
|
void |
setNextToken(String nextToken)
The token for the next set of items to return.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
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) |
DescribeMetricFiltersRequest |
withMetricNamespace(String metricNamespace)
The namespace of the CloudWatch metric.
|
DescribeMetricFiltersRequest |
withNextToken(String nextToken)
The token for the next set of items to return.
|
addHandlerContext, 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, withSdkRequestTimeout
public 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)
metricName
- public String getMetricName()
public DescribeMetricFiltersRequest withMetricName(String metricName)
metricName
- public void setMetricNamespace(String metricNamespace)
The namespace of the CloudWatch metric.
metricNamespace
- The namespace of the CloudWatch metric.public String getMetricNamespace()
The namespace of the CloudWatch metric.
public DescribeMetricFiltersRequest withMetricNamespace(String metricNamespace)
The namespace of the CloudWatch metric.
metricNamespace
- The namespace of the CloudWatch metric.public String toString()
toString
in class Object
Object.toString()
public DescribeMetricFiltersRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.