@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class StartQueryRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
StartQueryRequest() |
Modifier and Type | Method and Description |
---|---|
StartQueryRequest |
clone() |
boolean |
equals(Object obj) |
Long |
getEndTime()
The end of the time range to query.
|
Integer |
getLimit()
The maximum number of log events to return in the query.
|
String |
getLogGroupName()
The log group on which to perform the query.
|
String |
getQueryString()
The query string to use.
|
Long |
getStartTime()
The beginning of the time range to query.
|
int |
hashCode() |
void |
setEndTime(Long endTime)
The end of the time range to query.
|
void |
setLimit(Integer limit)
The maximum number of log events to return in the query.
|
void |
setLogGroupName(String logGroupName)
The log group on which to perform the query.
|
void |
setQueryString(String queryString)
The query string to use.
|
void |
setStartTime(Long startTime)
The beginning of the time range to query.
|
String |
toString()
Returns a string representation of this object.
|
StartQueryRequest |
withEndTime(Long endTime)
The end of the time range to query.
|
StartQueryRequest |
withLimit(Integer limit)
The maximum number of log events to return in the query.
|
StartQueryRequest |
withLogGroupName(String logGroupName)
The log group on which to perform the query.
|
StartQueryRequest |
withQueryString(String queryString)
The query string to use.
|
StartQueryRequest |
withStartTime(Long startTime)
The beginning of the time range to query.
|
addHandlerContext, copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setLogGroupName(String logGroupName)
The log group on which to perform the query.
logGroupName
- The log group on which to perform the query.public String getLogGroupName()
The log group on which to perform the query.
public StartQueryRequest withLogGroupName(String logGroupName)
The log group on which to perform the query.
logGroupName
- The log group on which to perform the query.public void setStartTime(Long startTime)
The beginning of the time range to query. The range is inclusive, so the specified start time is included in the query. Specified as epoch time, the number of seconds since January 1, 1970, 00:00:00 UTC.
startTime
- The beginning of the time range to query. The range is inclusive, so the specified start time is included
in the query. Specified as epoch time, the number of seconds since January 1, 1970, 00:00:00 UTC.public Long getStartTime()
The beginning of the time range to query. The range is inclusive, so the specified start time is included in the query. Specified as epoch time, the number of seconds since January 1, 1970, 00:00:00 UTC.
public StartQueryRequest withStartTime(Long startTime)
The beginning of the time range to query. The range is inclusive, so the specified start time is included in the query. Specified as epoch time, the number of seconds since January 1, 1970, 00:00:00 UTC.
startTime
- The beginning of the time range to query. The range is inclusive, so the specified start time is included
in the query. Specified as epoch time, the number of seconds since January 1, 1970, 00:00:00 UTC.public void setEndTime(Long endTime)
The end of the time range to query. The range is inclusive, so the specified end time is included in the query. Specified as epoch time, the number of seconds since January 1, 1970, 00:00:00 UTC.
endTime
- The end of the time range to query. The range is inclusive, so the specified end time is included in the
query. Specified as epoch time, the number of seconds since January 1, 1970, 00:00:00 UTC.public Long getEndTime()
The end of the time range to query. The range is inclusive, so the specified end time is included in the query. Specified as epoch time, the number of seconds since January 1, 1970, 00:00:00 UTC.
public StartQueryRequest withEndTime(Long endTime)
The end of the time range to query. The range is inclusive, so the specified end time is included in the query. Specified as epoch time, the number of seconds since January 1, 1970, 00:00:00 UTC.
endTime
- The end of the time range to query. The range is inclusive, so the specified end time is included in the
query. Specified as epoch time, the number of seconds since January 1, 1970, 00:00:00 UTC.public void setQueryString(String queryString)
The query string to use. For more information, see CloudWatch Logs Insights Query Syntax.
queryString
- The query string to use. For more information, see CloudWatch Logs
Insights Query Syntax.public String getQueryString()
The query string to use. For more information, see CloudWatch Logs Insights Query Syntax.
public StartQueryRequest withQueryString(String queryString)
The query string to use. For more information, see CloudWatch Logs Insights Query Syntax.
queryString
- The query string to use. For more information, see CloudWatch Logs
Insights Query Syntax.public void setLimit(Integer limit)
The maximum number of log events to return in the query. If the query string uses the fields
command, only the specified fields and their values are returned.
limit
- The maximum number of log events to return in the query. If the query string uses the fields
command, only the specified fields and their values are returned.public Integer getLimit()
The maximum number of log events to return in the query. If the query string uses the fields
command, only the specified fields and their values are returned.
fields
command, only the specified fields and their values are returned.public StartQueryRequest withLimit(Integer limit)
The maximum number of log events to return in the query. If the query string uses the fields
command, only the specified fields and their values are returned.
limit
- The maximum number of log events to return in the query. If the query string uses the fields
command, only the specified fields and their values are returned.public String toString()
toString
in class Object
Object.toString()
public StartQueryRequest clone()
clone
in class AmazonWebServiceRequest
Copyright © 2019. All rights reserved.