public class DescribeLogGroupsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
DescribeLogGroupsRequest() |
Modifier and Type | Method and Description |
---|---|
DescribeLogGroupsRequest |
clone()
Creates a shallow clone of this request.
|
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.
|
getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setLogGroupNamePrefix(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 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(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(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 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(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(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 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(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 String toString()
toString
in class Object
Object.toString()
public DescribeLogGroupsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.