@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CancelQueryResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
CancelQueryResult() |
| Modifier and Type | Method and Description |
|---|---|
CancelQueryResult |
clone() |
boolean |
equals(Object obj) |
String |
getQueryId()
The ID of the canceled query.
|
String |
getQueryStatus()
Shows the status of a query after a
CancelQuery request. |
int |
hashCode() |
void |
setQueryId(String queryId)
The ID of the canceled query.
|
void |
setQueryStatus(String queryStatus)
Shows the status of a query after a
CancelQuery request. |
String |
toString()
Returns a string representation of this object.
|
CancelQueryResult |
withQueryId(String queryId)
The ID of the canceled query.
|
CancelQueryResult |
withQueryStatus(QueryStatus queryStatus)
Shows the status of a query after a
CancelQuery request. |
CancelQueryResult |
withQueryStatus(String queryStatus)
Shows the status of a query after a
CancelQuery request. |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic void setQueryId(String queryId)
The ID of the canceled query.
queryId - The ID of the canceled query.public String getQueryId()
The ID of the canceled query.
public CancelQueryResult withQueryId(String queryId)
The ID of the canceled query.
queryId - The ID of the canceled query.public void setQueryStatus(String queryStatus)
Shows the status of a query after a CancelQuery request. Typically, the values shown are either
RUNNING or CANCELLED.
queryStatus - Shows the status of a query after a CancelQuery request. Typically, the values shown are
either RUNNING or CANCELLED.QueryStatuspublic String getQueryStatus()
Shows the status of a query after a CancelQuery request. Typically, the values shown are either
RUNNING or CANCELLED.
CancelQuery request. Typically, the values shown are
either RUNNING or CANCELLED.QueryStatuspublic CancelQueryResult withQueryStatus(String queryStatus)
Shows the status of a query after a CancelQuery request. Typically, the values shown are either
RUNNING or CANCELLED.
queryStatus - Shows the status of a query after a CancelQuery request. Typically, the values shown are
either RUNNING or CANCELLED.QueryStatuspublic CancelQueryResult withQueryStatus(QueryStatus queryStatus)
Shows the status of a query after a CancelQuery request. Typically, the values shown are either
RUNNING or CANCELLED.
queryStatus - Shows the status of a query after a CancelQuery request. Typically, the values shown are
either RUNNING or CANCELLED.QueryStatuspublic String toString()
toString in class ObjectObject.toString()public CancelQueryResult clone()