public class DescribeLogGroupsRequest extends AmazonWebServiceRequest implements java.io.Serializable
Lists the specified log groups. You can list all your log groups or filter the results by prefix. The results are ASCII-sorted by log group name.
| Constructor and Description |
|---|
DescribeLogGroupsRequest() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.Integer |
getLimit()
The maximum number of items returned.
|
java.lang.String |
getLogGroupNamePrefix()
The prefix to match.
|
java.lang.String |
getNextToken()
The token for the next set of items to return.
|
int |
hashCode() |
void |
setLimit(java.lang.Integer limit)
The maximum number of items returned.
|
void |
setLogGroupNamePrefix(java.lang.String logGroupNamePrefix)
The prefix to match.
|
void |
setNextToken(java.lang.String nextToken)
The token for the next set of items to return.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeLogGroupsRequest |
withLimit(java.lang.Integer limit)
The maximum number of items returned.
|
DescribeLogGroupsRequest |
withLogGroupNamePrefix(java.lang.String logGroupNamePrefix)
The prefix to match.
|
DescribeLogGroupsRequest |
withNextToken(java.lang.String nextToken)
The token for the next set of items to return.
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic java.lang.String getLogGroupNamePrefix()
The prefix to match.
Constraints:
Length: 1 - 512
Pattern: [\.\-_/#A-Za-z0-9]+
The prefix to match.
public void setLogGroupNamePrefix(java.lang.String logGroupNamePrefix)
The prefix to match.
Constraints:
Length: 1 - 512
Pattern: [\.\-_/#A-Za-z0-9]+
logGroupNamePrefix - The prefix to match.
public DescribeLogGroupsRequest withLogGroupNamePrefix(java.lang.String logGroupNamePrefix)
The prefix to match.
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 prefix to match.
public java.lang.String getNextToken()
The token for the next set of items to return. (You received this token from a previous call.)
Constraints:
Length: 1 -
The token for the next set of items to return. (You received this token from a previous call.)
public void setNextToken(java.lang.String nextToken)
The token for the next set of items to return. (You received this token from a previous call.)
Constraints:
Length: 1 -
nextToken - The token for the next set of items to return. (You received this token from a previous call.)
public DescribeLogGroupsRequest withNextToken(java.lang.String nextToken)
The token for the next set of items to return. (You received this token from a previous call.)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 -
nextToken - The token for the next set of items to return. (You received this token from a previous call.)
public java.lang.Integer getLimit()
The maximum number of items returned. If you don't specify a value, the default is up to 50 items.
Constraints:
Range: 1 - 50
The maximum number of items returned. If you don't specify a value, the default is up to 50 items.
public void setLimit(java.lang.Integer limit)
The maximum number of items returned. If you don't specify a value, the default is up to 50 items.
Constraints:
Range: 1 - 50
limit - The maximum number of items returned. If you don't specify a value, the default is up to 50 items.
public DescribeLogGroupsRequest withLimit(java.lang.Integer limit)
The maximum number of items returned. If you don't specify a value, the default is up to 50 items.
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. If you don't specify a value, the default is up to 50 items.
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectCopyright © 2018 Amazon Web Services, Inc. All Rights Reserved.