Class DescribeLogGroupsRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.logs.model.DescribeLogGroupsRequest
-
- All Implemented Interfaces:
ReadLimitInfo,Serializable,Cloneable
public class DescribeLogGroupsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description DescribeLogGroupsRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DescribeLogGroupsRequestclone()Creates a shallow clone of this request.booleanequals(Object obj)IntegergetLimit()The maximum number of items returned in the response.StringgetLogGroupNamePrefix()Will only return log groups that match the provided logGroupNamePrefix.StringgetNextToken()A string token used for pagination that points to the next page of results.inthashCode()voidsetLimit(Integer limit)The maximum number of items returned in the response.voidsetLogGroupNamePrefix(String logGroupNamePrefix)Will only return log groups that match the provided logGroupNamePrefix.voidsetNextToken(String nextToken)A string token used for pagination that points to the next page of results.StringtoString()Returns a string representation of this object; useful for testing and debugging.DescribeLogGroupsRequestwithLimit(Integer limit)The maximum number of items returned in the response.DescribeLogGroupsRequestwithLogGroupNamePrefix(String logGroupNamePrefix)Will only return log groups that match the provided logGroupNamePrefix.DescribeLogGroupsRequestwithNextToken(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
-
-
-
-
Method Detail
-
setLogGroupNamePrefix
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.
- 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
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.
- Returns:
- Will only return log groups that match the provided logGroupNamePrefix. If you don't specify a value, no prefix filter is applied.
-
withLogGroupNamePrefix
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.
- 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
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
DescribeLogGroupsrequest.- 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 previousDescribeLogGroupsrequest.
-
getNextToken
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
DescribeLogGroupsrequest.- 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
DescribeLogGroupsrequest.
-
withNextToken
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
DescribeLogGroupsrequest.- 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 previousDescribeLogGroupsrequest.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setLimit
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.
- 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
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.
- 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
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.
- 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
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public DescribeLogGroupsRequest clone()
Description copied from class:AmazonWebServiceRequestCreates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clonein classAmazonWebServiceRequest- See Also:
Object.clone()
-
-