@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()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Long |
getEndTime()
The time to end this query, if it is still running.
|
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 time to start the query.
|
int |
hashCode() |
void |
setEndTime(Long endTime)
The time to end this query, if it is still running.
|
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 time to start the query.
|
String |
toString()
Returns a string representation of this object.
|
StartQueryRequest |
withEndTime(Long endTime)
The time to end this query, if it is still running.
|
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 time to start the query.
|
addHandlerContext, 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, withSdkRequestTimeoutpublic 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 time to start the query. Specified as epoch time, the number of seconds since January 1, 1970, 00:00:00 UTC.
startTime - The time to start the query. Specified as epoch time, the number of seconds since January 1, 1970,
00:00:00 UTC.public Long getStartTime()
The time to start the query. Specified as epoch time, the number of seconds since January 1, 1970, 00:00:00 UTC.
public StartQueryRequest withStartTime(Long startTime)
The time to start the query. Specified as epoch time, the number of seconds since January 1, 1970, 00:00:00 UTC.
startTime - The time to start the query. Specified as epoch time, the number of seconds since January 1, 1970,
00:00:00 UTC.public void setEndTime(Long endTime)
The time to end this query, if it is still running. Specified as epoch time, the number of seconds since January 1, 1970, 00:00:00 UTC.
endTime - The time to end this query, if it is still running. Specified as epoch time, the number of seconds since
January 1, 1970, 00:00:00 UTC.public Long getEndTime()
The time to end this query, if it is still running. Specified as epoch time, the number of seconds since January 1, 1970, 00:00:00 UTC.
public StartQueryRequest withEndTime(Long endTime)
The time to end this query, if it is still running. Specified as epoch time, the number of seconds since January 1, 1970, 00:00:00 UTC.
endTime - The time to end this query, if it is still running. 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 ObjectObject.toString()public StartQueryRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.