public class DescribeLogStreamsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
DescribeLogStreamsRequest()
Default constructor for DescribeLogStreamsRequest object.
|
DescribeLogStreamsRequest(String logGroupName)
Constructs a new DescribeLogStreamsRequest object.
|
Modifier and Type | Method and Description |
---|---|
DescribeLogStreamsRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
Boolean |
getDescending()
If set to true, results are returned in descending order.
|
Integer |
getLimit()
The maximum number of items returned in the response.
|
String |
getLogGroupName()
The log group name for which log streams are to be listed.
|
String |
getLogStreamNamePrefix()
Will only return log streams that match the provided logStreamNamePrefix.
|
String |
getNextToken()
A string token used for pagination that points to the next page of
results.
|
String |
getOrderBy()
Specifies what to order the returned log streams by.
|
int |
hashCode() |
Boolean |
isDescending()
If set to true, results are returned in descending order.
|
void |
setDescending(Boolean descending)
If set to true, results are returned in descending order.
|
void |
setLimit(Integer limit)
The maximum number of items returned in the response.
|
void |
setLogGroupName(String logGroupName)
The log group name for which log streams are to be listed.
|
void |
setLogStreamNamePrefix(String logStreamNamePrefix)
Will only return log streams that match the provided logStreamNamePrefix.
|
void |
setNextToken(String nextToken)
A string token used for pagination that points to the next page of
results.
|
void |
setOrderBy(OrderBy orderBy)
Specifies what to order the returned log streams by.
|
void |
setOrderBy(String orderBy)
Specifies what to order the returned log streams by.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeLogStreamsRequest |
withDescending(Boolean descending)
If set to true, results are returned in descending order.
|
DescribeLogStreamsRequest |
withLimit(Integer limit)
The maximum number of items returned in the response.
|
DescribeLogStreamsRequest |
withLogGroupName(String logGroupName)
The log group name for which log streams are to be listed.
|
DescribeLogStreamsRequest |
withLogStreamNamePrefix(String logStreamNamePrefix)
Will only return log streams that match the provided logStreamNamePrefix.
|
DescribeLogStreamsRequest |
withNextToken(String nextToken)
A string token used for pagination that points to the next page of
results.
|
DescribeLogStreamsRequest |
withOrderBy(OrderBy orderBy)
Specifies what to order the returned log streams by.
|
DescribeLogStreamsRequest |
withOrderBy(String orderBy)
Specifies what to order the returned log streams by.
|
getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public DescribeLogStreamsRequest()
public DescribeLogStreamsRequest(String logGroupName)
logGroupName
- The log group name for which log streams are to be listed.public void setLogGroupName(String logGroupName)
The log group name for which log streams are to be listed.
logGroupName
- The log group name for which log streams are to be listed.public String getLogGroupName()
The log group name for which log streams are to be listed.
public DescribeLogStreamsRequest withLogGroupName(String logGroupName)
The log group name for which log streams are to be listed.
logGroupName
- The log group name for which log streams are to be listed.public void setLogStreamNamePrefix(String logStreamNamePrefix)
Will only return log streams that match the provided logStreamNamePrefix. If you don't specify a value, no prefix filter is applied.
logStreamNamePrefix
- Will only return log streams that match the provided
logStreamNamePrefix. If you don't specify a value, no prefix
filter is applied.public String getLogStreamNamePrefix()
Will only return log streams that match the provided logStreamNamePrefix. If you don't specify a value, no prefix filter is applied.
public DescribeLogStreamsRequest withLogStreamNamePrefix(String logStreamNamePrefix)
Will only return log streams that match the provided logStreamNamePrefix. If you don't specify a value, no prefix filter is applied.
logStreamNamePrefix
- Will only return log streams that match the provided
logStreamNamePrefix. If you don't specify a value, no prefix
filter is applied.public void setOrderBy(String orderBy)
Specifies what to order the returned log streams by. Valid arguments are 'LogStreamName' or 'LastEventTime'. If you don't specify a value, results are ordered by LogStreamName. If 'LastEventTime' is chosen, the request cannot also contain a logStreamNamePrefix.
orderBy
- Specifies what to order the returned log streams by. Valid
arguments are 'LogStreamName' or 'LastEventTime'. If you don't
specify a value, results are ordered by LogStreamName. If
'LastEventTime' is chosen, the request cannot also contain a
logStreamNamePrefix.OrderBy
public String getOrderBy()
Specifies what to order the returned log streams by. Valid arguments are 'LogStreamName' or 'LastEventTime'. If you don't specify a value, results are ordered by LogStreamName. If 'LastEventTime' is chosen, the request cannot also contain a logStreamNamePrefix.
OrderBy
public DescribeLogStreamsRequest withOrderBy(String orderBy)
Specifies what to order the returned log streams by. Valid arguments are 'LogStreamName' or 'LastEventTime'. If you don't specify a value, results are ordered by LogStreamName. If 'LastEventTime' is chosen, the request cannot also contain a logStreamNamePrefix.
orderBy
- Specifies what to order the returned log streams by. Valid
arguments are 'LogStreamName' or 'LastEventTime'. If you don't
specify a value, results are ordered by LogStreamName. If
'LastEventTime' is chosen, the request cannot also contain a
logStreamNamePrefix.OrderBy
public void setOrderBy(OrderBy orderBy)
Specifies what to order the returned log streams by. Valid arguments are 'LogStreamName' or 'LastEventTime'. If you don't specify a value, results are ordered by LogStreamName. If 'LastEventTime' is chosen, the request cannot also contain a logStreamNamePrefix.
orderBy
- Specifies what to order the returned log streams by. Valid
arguments are 'LogStreamName' or 'LastEventTime'. If you don't
specify a value, results are ordered by LogStreamName. If
'LastEventTime' is chosen, the request cannot also contain a
logStreamNamePrefix.OrderBy
public DescribeLogStreamsRequest withOrderBy(OrderBy orderBy)
Specifies what to order the returned log streams by. Valid arguments are 'LogStreamName' or 'LastEventTime'. If you don't specify a value, results are ordered by LogStreamName. If 'LastEventTime' is chosen, the request cannot also contain a logStreamNamePrefix.
orderBy
- Specifies what to order the returned log streams by. Valid
arguments are 'LogStreamName' or 'LastEventTime'. If you don't
specify a value, results are ordered by LogStreamName. If
'LastEventTime' is chosen, the request cannot also contain a
logStreamNamePrefix.OrderBy
public void setDescending(Boolean descending)
If set to true, results are returned in descending order. If you don't specify a value or set it to false, results are returned in ascending order.
descending
- If set to true, results are returned in descending order. If you
don't specify a value or set it to false, results are returned in
ascending order.public Boolean getDescending()
If set to true, results are returned in descending order. If you don't specify a value or set it to false, results are returned in ascending order.
public DescribeLogStreamsRequest withDescending(Boolean descending)
If set to true, results are returned in descending order. If you don't specify a value or set it to false, results are returned in ascending order.
descending
- If set to true, results are returned in descending order. If you
don't specify a value or set it to false, results are returned in
ascending order.public Boolean isDescending()
If set to true, results are returned in descending order. If you don't specify a value or set it to false, results are returned in ascending order.
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
DescribeLogStreams
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 DescribeLogStreams
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
DescribeLogStreams
request.
DescribeLogStreams
request.public DescribeLogStreamsRequest 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
DescribeLogStreams
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 DescribeLogStreams
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 DescribeLogStreamsRequest 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 DescribeLogStreamsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.