public class DescribeLogGroupsRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private java.lang.Integer |
limit
The maximum number of items returned in the response.
|
private java.lang.String |
logGroupNamePrefix
Will only return log groups that match the provided logGroupNamePrefix.
|
private java.lang.String |
nextToken
A string token used for pagination that points to the next page of
results.
|
NOOP
Constructor and Description |
---|
DescribeLogGroupsRequest() |
Modifier and Type | Method and Description |
---|---|
DescribeLogGroupsRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.lang.Integer |
getLimit()
The maximum number of items returned in the response.
|
java.lang.String |
getLogGroupNamePrefix()
Will only return log groups that match the provided logGroupNamePrefix.
|
java.lang.String |
getNextToken()
A string token used for pagination that points to the next page of
results.
|
int |
hashCode() |
void |
setLimit(java.lang.Integer limit)
The maximum number of items returned in the response.
|
void |
setLogGroupNamePrefix(java.lang.String logGroupNamePrefix)
Will only return log groups that match the provided logGroupNamePrefix.
|
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.
|
DescribeLogGroupsRequest |
withLimit(java.lang.Integer limit)
The maximum number of items returned in the response.
|
DescribeLogGroupsRequest |
withLogGroupNamePrefix(java.lang.String logGroupNamePrefix)
Will only return log groups that match the provided logGroupNamePrefix.
|
DescribeLogGroupsRequest |
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 logGroupNamePrefix
Will only return log groups that match the provided logGroupNamePrefix. 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
DescribeLogGroups
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 void setLogGroupNamePrefix(java.lang.String logGroupNamePrefix)
Will only return log groups that match the provided logGroupNamePrefix. If you don't specify a value, no prefix filter is applied.
logGroupNamePrefix
- Will only return log groups that match the provided
logGroupNamePrefix. If you don't specify a value, no prefix filter
is applied.public java.lang.String getLogGroupNamePrefix()
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(java.lang.String logGroupNamePrefix)
Will only return log groups that match the provided logGroupNamePrefix. If you don't specify a value, no prefix filter is applied.
logGroupNamePrefix
- Will only return log groups that match the provided
logGroupNamePrefix. 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
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 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
DescribeLogGroups
request.
DescribeLogGroups
request.public DescribeLogGroupsRequest 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
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 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 DescribeLogGroupsRequest 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 DescribeLogGroupsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()