Class DescribeLogGroupsRequest
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
- See Also:
-
Field Summary
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates a shallow clone of this request.boolean
getLimit()
The maximum number of items returned in the response.Will only return log groups that match the provided logGroupNamePrefix.A string token used for pagination that points to the next page of results.int
hashCode()
void
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.toString()
Returns a string representation of this object; useful for testing and debugging.The maximum number of items returned in the response.withLogGroupNamePrefix
(String logGroupNamePrefix) Will only return log groups that match the provided logGroupNamePrefix.withNextToken
(String nextToken) A string token used for pagination that points to the next page of results.Methods inherited from class com.amazonaws.AmazonWebServiceRequest
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
-
Constructor Details
-
DescribeLogGroupsRequest
public DescribeLogGroupsRequest()
-
-
Method Details
-
setLogGroupNamePrefix
Will only return log groups that match the provided logGroupNamePrefix. If you don't specify a value, no prefix filter is applied.
- Parameters:
logGroupNamePrefix
- Will only return log groups that match the provided logGroupNamePrefix. If you don't specify a value, no prefix filter is applied.
-
getLogGroupNamePrefix
Will only return log groups that match the provided logGroupNamePrefix. If you don't specify a value, no prefix filter is applied.
- Returns:
- Will only return log groups that match the provided logGroupNamePrefix. If you don't specify a value, no prefix filter is applied.
-
withLogGroupNamePrefix
Will only return log groups that match the provided logGroupNamePrefix. If you don't specify a value, no prefix filter is applied.
- Parameters:
logGroupNamePrefix
- Will only return log groups that match the provided logGroupNamePrefix. If you don't specify a value, no prefix filter is applied.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setNextToken
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.- Parameters:
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 previousDescribeLogGroups
request.
-
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.- Returns:
- 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.
-
withNextToken
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.- Parameters:
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 previousDescribeLogGroups
request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setLimit
The maximum number of items returned in the response. If you don't specify a value, the request would return up to 50 items.
- Parameters:
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.
-
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.
- Returns:
- The maximum number of items returned in the response. If you don't specify a value, the request would return up to 50 items.
-
withLimit
The maximum number of items returned in the response. If you don't specify a value, the request would return up to 50 items.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
-