@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Query extends Object implements Serializable, Cloneable, StructuredPojo
A SQL string of criteria about events that you want to collect in an event data store.
Constructor and Description |
---|
Query() |
Modifier and Type | Method and Description |
---|---|
Query |
clone() |
boolean |
equals(Object obj) |
Date |
getCreationTime()
The creation time of a query.
|
String |
getQueryId()
The ID of a query.
|
String |
getQueryStatus()
The status of the query.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCreationTime(Date creationTime)
The creation time of a query.
|
void |
setQueryId(String queryId)
The ID of a query.
|
void |
setQueryStatus(String queryStatus)
The status of the query.
|
String |
toString()
Returns a string representation of this object.
|
Query |
withCreationTime(Date creationTime)
The creation time of a query.
|
Query |
withQueryId(String queryId)
The ID of a query.
|
Query |
withQueryStatus(QueryStatus queryStatus)
The status of the query.
|
Query |
withQueryStatus(String queryStatus)
The status of the query.
|
public void setQueryId(String queryId)
The ID of a query.
queryId
- The ID of a query.public String getQueryId()
The ID of a query.
public Query withQueryId(String queryId)
The ID of a query.
queryId
- The ID of a query.public void setQueryStatus(String queryStatus)
The status of the query. This can be QUEUED
, RUNNING
, FINISHED
,
FAILED
, TIMED_OUT
, or CANCELLED
.
queryStatus
- The status of the query. This can be QUEUED
, RUNNING
, FINISHED
,
FAILED
, TIMED_OUT
, or CANCELLED
.QueryStatus
public String getQueryStatus()
The status of the query. This can be QUEUED
, RUNNING
, FINISHED
,
FAILED
, TIMED_OUT
, or CANCELLED
.
QUEUED
, RUNNING
, FINISHED
,
FAILED
, TIMED_OUT
, or CANCELLED
.QueryStatus
public Query withQueryStatus(String queryStatus)
The status of the query. This can be QUEUED
, RUNNING
, FINISHED
,
FAILED
, TIMED_OUT
, or CANCELLED
.
queryStatus
- The status of the query. This can be QUEUED
, RUNNING
, FINISHED
,
FAILED
, TIMED_OUT
, or CANCELLED
.QueryStatus
public Query withQueryStatus(QueryStatus queryStatus)
The status of the query. This can be QUEUED
, RUNNING
, FINISHED
,
FAILED
, TIMED_OUT
, or CANCELLED
.
queryStatus
- The status of the query. This can be QUEUED
, RUNNING
, FINISHED
,
FAILED
, TIMED_OUT
, or CANCELLED
.QueryStatus
public void setCreationTime(Date creationTime)
The creation time of a query.
creationTime
- The creation time of a query.public Date getCreationTime()
The creation time of a query.
public Query withCreationTime(Date creationTime)
The creation time of a query.
creationTime
- The creation time of a query.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.