@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeQueryResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeQueryResult() |
Modifier and Type | Method and Description |
---|---|
DescribeQueryResult |
clone() |
boolean |
equals(Object obj) |
String |
getDeliveryS3Uri()
The URI for the S3 bucket where CloudTrail delivered query results, if applicable.
|
String |
getDeliveryStatus()
The delivery status.
|
String |
getErrorMessage()
The error message returned if a query failed.
|
String |
getQueryId()
The ID of the query.
|
QueryStatisticsForDescribeQuery |
getQueryStatistics()
Metadata about a query, including the number of events that were matched, the total number of events scanned, the
query run time in milliseconds, and the query's creation time.
|
String |
getQueryStatus()
The status of a query.
|
String |
getQueryString()
The SQL code of a query.
|
int |
hashCode() |
void |
setDeliveryS3Uri(String deliveryS3Uri)
The URI for the S3 bucket where CloudTrail delivered query results, if applicable.
|
void |
setDeliveryStatus(String deliveryStatus)
The delivery status.
|
void |
setErrorMessage(String errorMessage)
The error message returned if a query failed.
|
void |
setQueryId(String queryId)
The ID of the query.
|
void |
setQueryStatistics(QueryStatisticsForDescribeQuery queryStatistics)
Metadata about a query, including the number of events that were matched, the total number of events scanned, the
query run time in milliseconds, and the query's creation time.
|
void |
setQueryStatus(String queryStatus)
The status of a query.
|
void |
setQueryString(String queryString)
The SQL code of a query.
|
String |
toString()
Returns a string representation of this object.
|
DescribeQueryResult |
withDeliveryS3Uri(String deliveryS3Uri)
The URI for the S3 bucket where CloudTrail delivered query results, if applicable.
|
DescribeQueryResult |
withDeliveryStatus(DeliveryStatus deliveryStatus)
The delivery status.
|
DescribeQueryResult |
withDeliveryStatus(String deliveryStatus)
The delivery status.
|
DescribeQueryResult |
withErrorMessage(String errorMessage)
The error message returned if a query failed.
|
DescribeQueryResult |
withQueryId(String queryId)
The ID of the query.
|
DescribeQueryResult |
withQueryStatistics(QueryStatisticsForDescribeQuery queryStatistics)
Metadata about a query, including the number of events that were matched, the total number of events scanned, the
query run time in milliseconds, and the query's creation time.
|
DescribeQueryResult |
withQueryStatus(QueryStatus queryStatus)
The status of a query.
|
DescribeQueryResult |
withQueryStatus(String queryStatus)
The status of a query.
|
DescribeQueryResult |
withQueryString(String queryString)
The SQL code of a query.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setQueryId(String queryId)
The ID of the query.
queryId
- The ID of the query.public String getQueryId()
The ID of the query.
public DescribeQueryResult withQueryId(String queryId)
The ID of the query.
queryId
- The ID of the query.public void setQueryString(String queryString)
The SQL code of a query.
queryString
- The SQL code of a query.public String getQueryString()
The SQL code of a query.
public DescribeQueryResult withQueryString(String queryString)
The SQL code of a query.
queryString
- The SQL code of a query.public void setQueryStatus(String queryStatus)
The status of a query. Values for QueryStatus
include QUEUED
, RUNNING
,
FINISHED
, FAILED
, TIMED_OUT
, or CANCELLED
queryStatus
- The status of a query. Values for QueryStatus
include QUEUED
,
RUNNING
, FINISHED
, FAILED
, TIMED_OUT
, or
CANCELLED
QueryStatus
public String getQueryStatus()
The status of a query. Values for QueryStatus
include QUEUED
, RUNNING
,
FINISHED
, FAILED
, TIMED_OUT
, or CANCELLED
QueryStatus
include QUEUED
,
RUNNING
, FINISHED
, FAILED
, TIMED_OUT
, or
CANCELLED
QueryStatus
public DescribeQueryResult withQueryStatus(String queryStatus)
The status of a query. Values for QueryStatus
include QUEUED
, RUNNING
,
FINISHED
, FAILED
, TIMED_OUT
, or CANCELLED
queryStatus
- The status of a query. Values for QueryStatus
include QUEUED
,
RUNNING
, FINISHED
, FAILED
, TIMED_OUT
, or
CANCELLED
QueryStatus
public DescribeQueryResult withQueryStatus(QueryStatus queryStatus)
The status of a query. Values for QueryStatus
include QUEUED
, RUNNING
,
FINISHED
, FAILED
, TIMED_OUT
, or CANCELLED
queryStatus
- The status of a query. Values for QueryStatus
include QUEUED
,
RUNNING
, FINISHED
, FAILED
, TIMED_OUT
, or
CANCELLED
QueryStatus
public void setQueryStatistics(QueryStatisticsForDescribeQuery queryStatistics)
Metadata about a query, including the number of events that were matched, the total number of events scanned, the query run time in milliseconds, and the query's creation time.
queryStatistics
- Metadata about a query, including the number of events that were matched, the total number of events
scanned, the query run time in milliseconds, and the query's creation time.public QueryStatisticsForDescribeQuery getQueryStatistics()
Metadata about a query, including the number of events that were matched, the total number of events scanned, the query run time in milliseconds, and the query's creation time.
public DescribeQueryResult withQueryStatistics(QueryStatisticsForDescribeQuery queryStatistics)
Metadata about a query, including the number of events that were matched, the total number of events scanned, the query run time in milliseconds, and the query's creation time.
queryStatistics
- Metadata about a query, including the number of events that were matched, the total number of events
scanned, the query run time in milliseconds, and the query's creation time.public void setErrorMessage(String errorMessage)
The error message returned if a query failed.
errorMessage
- The error message returned if a query failed.public String getErrorMessage()
The error message returned if a query failed.
public DescribeQueryResult withErrorMessage(String errorMessage)
The error message returned if a query failed.
errorMessage
- The error message returned if a query failed.public void setDeliveryS3Uri(String deliveryS3Uri)
The URI for the S3 bucket where CloudTrail delivered query results, if applicable.
deliveryS3Uri
- The URI for the S3 bucket where CloudTrail delivered query results, if applicable.public String getDeliveryS3Uri()
The URI for the S3 bucket where CloudTrail delivered query results, if applicable.
public DescribeQueryResult withDeliveryS3Uri(String deliveryS3Uri)
The URI for the S3 bucket where CloudTrail delivered query results, if applicable.
deliveryS3Uri
- The URI for the S3 bucket where CloudTrail delivered query results, if applicable.public void setDeliveryStatus(String deliveryStatus)
The delivery status.
deliveryStatus
- The delivery status.DeliveryStatus
public String getDeliveryStatus()
The delivery status.
DeliveryStatus
public DescribeQueryResult withDeliveryStatus(String deliveryStatus)
The delivery status.
deliveryStatus
- The delivery status.DeliveryStatus
public DescribeQueryResult withDeliveryStatus(DeliveryStatus deliveryStatus)
The delivery status.
deliveryStatus
- The delivery status.DeliveryStatus
public String toString()
toString
in class Object
Object.toString()
public DescribeQueryResult clone()