public class DescribeLogGroupsRequest extends AmazonWebServiceRequest implements Serializable
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 |
---|---|
boolean |
equals(Object obj) |
Integer |
getLimit()
The maximum number of items returned in the response.
|
String |
getLogGroupNamePrefix()
Returns the value of the LogGroupNamePrefix property for this object.
|
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)
Sets the value of the LogGroupNamePrefix property for this object.
|
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)
Sets the value of the LogGroupNamePrefix property for this object.
|
DescribeLogGroupsRequest |
withNextToken(String nextToken)
A string token used for pagination that points to the next page of
results.
|
copyPrivateRequestParameters, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public 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
- The new value for the LogGroupNamePrefix property for this object.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
- The new value for the LogGroupNamePrefix property for this object.public String getNextToken()
DescribeLogGroups
request.DescribeLogGroups
request.public void setNextToken(String nextToken)
DescribeLogGroups
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
DescribeLogGroups
request.public DescribeLogGroupsRequest withNextToken(String nextToken)
DescribeLogGroups
request.
Returns a reference to this object so that method calls can be chained together.
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 Object
Object.toString()
Copyright © 2014. All rights reserved.