@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CancelStatementRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CancelStatementRequest() |
Modifier and Type | Method and Description |
---|---|
CancelStatementRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Integer |
getId()
The ID of the statement to be cancelled.
|
String |
getRequestOrigin()
The origin of the request to cancel the statement.
|
String |
getSessionId()
The Session ID of the statement to be cancelled.
|
int |
hashCode() |
void |
setId(Integer id)
The ID of the statement to be cancelled.
|
void |
setRequestOrigin(String requestOrigin)
The origin of the request to cancel the statement.
|
void |
setSessionId(String sessionId)
The Session ID of the statement to be cancelled.
|
String |
toString()
Returns a string representation of this object.
|
CancelStatementRequest |
withId(Integer id)
The ID of the statement to be cancelled.
|
CancelStatementRequest |
withRequestOrigin(String requestOrigin)
The origin of the request to cancel the statement.
|
CancelStatementRequest |
withSessionId(String sessionId)
The Session ID of the statement to be cancelled.
|
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, withSdkRequestTimeout
public void setSessionId(String sessionId)
The Session ID of the statement to be cancelled.
sessionId
- The Session ID of the statement to be cancelled.public String getSessionId()
The Session ID of the statement to be cancelled.
public CancelStatementRequest withSessionId(String sessionId)
The Session ID of the statement to be cancelled.
sessionId
- The Session ID of the statement to be cancelled.public void setId(Integer id)
The ID of the statement to be cancelled.
id
- The ID of the statement to be cancelled.public Integer getId()
The ID of the statement to be cancelled.
public CancelStatementRequest withId(Integer id)
The ID of the statement to be cancelled.
id
- The ID of the statement to be cancelled.public void setRequestOrigin(String requestOrigin)
The origin of the request to cancel the statement.
requestOrigin
- The origin of the request to cancel the statement.public String getRequestOrigin()
The origin of the request to cancel the statement.
public CancelStatementRequest withRequestOrigin(String requestOrigin)
The origin of the request to cancel the statement.
requestOrigin
- The origin of the request to cancel the statement.public String toString()
toString
in class Object
Object.toString()
public CancelStatementRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()