public class DescribeMetricFiltersRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
filterNamePrefix
Will only return metric filters that match the provided filterNamePrefix.
|
private java.lang.Integer |
limit
The maximum number of items returned in the response.
|
private java.lang.String |
logGroupName
The log group name for which metric filters are to be listed.
|
private java.lang.String |
nextToken
A string token used for pagination that points to the next page of
results.
|
NOOP
Constructor and Description |
---|
DescribeMetricFiltersRequest()
Default constructor for DescribeMetricFiltersRequest object.
|
DescribeMetricFiltersRequest(java.lang.String logGroupName)
Constructs a new DescribeMetricFiltersRequest object.
|
Modifier and Type | Method and Description |
---|---|
DescribeMetricFiltersRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getFilterNamePrefix()
Will only return metric filters that match the provided filterNamePrefix.
|
java.lang.Integer |
getLimit()
The maximum number of items returned in the response.
|
java.lang.String |
getLogGroupName()
The log group name for which metric filters are to be listed.
|
java.lang.String |
getNextToken()
A string token used for pagination that points to the next page of
results.
|
int |
hashCode() |
void |
setFilterNamePrefix(java.lang.String filterNamePrefix)
Will only return metric filters that match the provided filterNamePrefix.
|
void |
setLimit(java.lang.Integer limit)
The maximum number of items returned in the response.
|
void |
setLogGroupName(java.lang.String logGroupName)
The log group name for which metric filters are to be listed.
|
void |
setNextToken(java.lang.String nextToken)
A string token used for pagination that points to the next page of
results.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeMetricFiltersRequest |
withFilterNamePrefix(java.lang.String filterNamePrefix)
Will only return metric filters that match the provided filterNamePrefix.
|
DescribeMetricFiltersRequest |
withLimit(java.lang.Integer limit)
The maximum number of items returned in the response.
|
DescribeMetricFiltersRequest |
withLogGroupName(java.lang.String logGroupName)
The log group name for which metric filters are to be listed.
|
DescribeMetricFiltersRequest |
withNextToken(java.lang.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
private java.lang.String logGroupName
The log group name for which metric filters are to be listed.
private java.lang.String filterNamePrefix
Will only return metric filters that match the provided filterNamePrefix. If you don't specify a value, no prefix filter is applied.
private java.lang.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.
private java.lang.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.
public DescribeMetricFiltersRequest()
public DescribeMetricFiltersRequest(java.lang.String logGroupName)
logGroupName
- The log group name for which metric filters are to be listed.public void setLogGroupName(java.lang.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 java.lang.String getLogGroupName()
The log group name for which metric filters are to be listed.
public DescribeMetricFiltersRequest withLogGroupName(java.lang.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(java.lang.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 java.lang.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(java.lang.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(java.lang.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 java.lang.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(java.lang.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(java.lang.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 java.lang.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(java.lang.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public DescribeMetricFiltersRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()