public class DescribeSubscriptionFiltersRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
DescribeSubscriptionFilters operation.
Returns all the subscription filters associated with the specified log group. The list returned in the response is ASCII-sorted by filter name.
By default, this operation returns up to 50 subscription filters. If
there are more subscription filters to list, the response would
contain a nextToken value in the response body. You can
also limit the number of subscription filters returned in the response
by specifying the limit parameter in the request.
NOOP| Constructor and Description |
|---|
DescribeSubscriptionFiltersRequest() |
| Modifier and Type | Method and Description |
|---|---|
DescribeSubscriptionFiltersRequest |
clone() |
boolean |
equals(Object obj) |
String |
getFilterNamePrefix()
Will only return subscription filters that match the provided
filterNamePrefix.
|
Integer |
getLimit()
The maximum number of results to return.
|
String |
getLogGroupName()
The log group name for which subscription 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 subscription filters that match the provided
filterNamePrefix.
|
void |
setLimit(Integer limit)
The maximum number of results to return.
|
void |
setLogGroupName(String logGroupName)
The log group name for which subscription 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.
|
DescribeSubscriptionFiltersRequest |
withFilterNamePrefix(String filterNamePrefix)
Will only return subscription filters that match the provided
filterNamePrefix.
|
DescribeSubscriptionFiltersRequest |
withLimit(Integer limit)
The maximum number of results to return.
|
DescribeSubscriptionFiltersRequest |
withLogGroupName(String logGroupName)
The log group name for which subscription filters are to be listed.
|
DescribeSubscriptionFiltersRequest |
withNextToken(String nextToken)
A string token used for pagination that points to the next page of
results.
|
copyBaseTo, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic String getLogGroupName()
Constraints:
Length: 1 - 512
Pattern: [\.\-_/#A-Za-z0-9]+
public void setLogGroupName(String logGroupName)
Constraints:
Length: 1 - 512
Pattern: [\.\-_/#A-Za-z0-9]+
logGroupName - The log group name for which subscription filters are to be listed.public DescribeSubscriptionFiltersRequest withLogGroupName(String logGroupName)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 512
Pattern: [\.\-_/#A-Za-z0-9]+
logGroupName - The log group name for which subscription filters are to be listed.public String getFilterNamePrefix()
Constraints:
Length: 1 - 512
Pattern: [^:*]*
public void setFilterNamePrefix(String filterNamePrefix)
Constraints:
Length: 1 - 512
Pattern: [^:*]*
filterNamePrefix - Will only return subscription filters that match the provided
filterNamePrefix. If you don't specify a value, no prefix filter is
applied.public DescribeSubscriptionFiltersRequest withFilterNamePrefix(String filterNamePrefix)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 512
Pattern: [^:*]*
filterNamePrefix - Will only return subscription filters that match the provided
filterNamePrefix. If you don't specify a value, no prefix filter is
applied.public String getNextToken()
Constraints:
Length: 1 -
public void setNextToken(String nextToken)
Constraints:
Length: 1 -
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
request. The token expires after 24 hours.public DescribeSubscriptionFiltersRequest withNextToken(String nextToken)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 -
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
request. The token expires after 24 hours.public Integer getLimit()
Constraints:
Range: 1 - 50
public void setLimit(Integer limit)
Constraints:
Range: 1 - 50
limit - The maximum number of results to return.public DescribeSubscriptionFiltersRequest withLimit(Integer limit)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 1 - 50
limit - The maximum number of results to return.public String toString()
toString in class ObjectObject.toString()public DescribeSubscriptionFiltersRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2015. All rights reserved.