public class DescribeLogGroupsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
DescribeLogGroups operation.
Returns all the log groups that are associated with the AWS account making the request. The list returned in the response is ASCII-sorted by log group name.
By default, this operation returns up to 50 log groups. If there are
more log groups to list, the response would contain a
nextToken value in the response body. You can also limit
the number of log groups returned in the response by specifying the
limit parameter in the request.
NOOP| Constructor and Description |
|---|
DescribeLogGroupsRequest() |
| Modifier and Type | Method and Description |
|---|---|
DescribeLogGroupsRequest |
clone() |
boolean |
equals(Object obj) |
Integer |
getLimit()
The maximum number of items returned in the response.
|
String |
getLogGroupNamePrefix()
Will only return log groups that match the provided
logGroupNamePrefix.
|
String |
getNextToken()
A string token used for pagination that points to the next page of
results.
|
int |
hashCode() |
void |
setLimit(Integer limit)
The maximum number of items returned in the response.
|
void |
setLogGroupNamePrefix(String logGroupNamePrefix)
Will only return log groups that match the provided
logGroupNamePrefix.
|
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.
|
DescribeLogGroupsRequest |
withLimit(Integer limit)
The maximum number of items returned in the response.
|
DescribeLogGroupsRequest |
withLogGroupNamePrefix(String logGroupNamePrefix)
Will only return log groups that match the provided
logGroupNamePrefix.
|
DescribeLogGroupsRequest |
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 getLogGroupNamePrefix()
Constraints:
Length: 1 - 512
Pattern: [\.\-_/#A-Za-z0-9]+
public void setLogGroupNamePrefix(String logGroupNamePrefix)
Constraints:
Length: 1 - 512
Pattern: [\.\-_/#A-Za-z0-9]+
logGroupNamePrefix - Will only return log groups that match the provided
logGroupNamePrefix. If you don't specify a value, no prefix filter is
applied.public DescribeLogGroupsRequest withLogGroupNamePrefix(String logGroupNamePrefix)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 512
Pattern: [\.\-_/#A-Za-z0-9]+
logGroupNamePrefix - Will only return log groups that match the provided
logGroupNamePrefix. If you don't specify a value, no prefix filter is
applied.public String getNextToken()
DescribeLogGroups request.
Constraints:
Length: 1 -
DescribeLogGroups request.public void setNextToken(String nextToken)
DescribeLogGroups request.
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
DescribeLogGroups request.public DescribeLogGroupsRequest withNextToken(String nextToken)
DescribeLogGroups request.
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
DescribeLogGroups request.public Integer getLimit()
Constraints:
Range: 1 - 50
public void setLimit(Integer limit)
Constraints:
Range: 1 - 50
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 DescribeLogGroupsRequest 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 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 ObjectObject.toString()public DescribeLogGroupsRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2015. All rights reserved.