@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SendCommandRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
SendCommandRequest() |
Modifier and Type | Method and Description |
---|---|
SendCommandRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
AbortTransactionRequest |
getAbortTransaction()
Command to abort the current transaction.
|
CommitTransactionRequest |
getCommitTransaction()
Command to commit the specified transaction.
|
EndSessionRequest |
getEndSession()
Command to end the current session.
|
ExecuteStatementRequest |
getExecuteStatement()
Command to execute a statement in the specified transaction.
|
FetchPageRequest |
getFetchPage()
Command to fetch a page.
|
String |
getSessionToken()
Specifies the session token for the current command.
|
StartSessionRequest |
getStartSession()
Command to start a new session.
|
StartTransactionRequest |
getStartTransaction()
Command to start a new transaction.
|
int |
hashCode() |
void |
setAbortTransaction(AbortTransactionRequest abortTransaction)
Command to abort the current transaction.
|
void |
setCommitTransaction(CommitTransactionRequest commitTransaction)
Command to commit the specified transaction.
|
void |
setEndSession(EndSessionRequest endSession)
Command to end the current session.
|
void |
setExecuteStatement(ExecuteStatementRequest executeStatement)
Command to execute a statement in the specified transaction.
|
void |
setFetchPage(FetchPageRequest fetchPage)
Command to fetch a page.
|
void |
setSessionToken(String sessionToken)
Specifies the session token for the current command.
|
void |
setStartSession(StartSessionRequest startSession)
Command to start a new session.
|
void |
setStartTransaction(StartTransactionRequest startTransaction)
Command to start a new transaction.
|
String |
toString()
Returns a string representation of this object.
|
SendCommandRequest |
withAbortTransaction(AbortTransactionRequest abortTransaction)
Command to abort the current transaction.
|
SendCommandRequest |
withCommitTransaction(CommitTransactionRequest commitTransaction)
Command to commit the specified transaction.
|
SendCommandRequest |
withEndSession(EndSessionRequest endSession)
Command to end the current session.
|
SendCommandRequest |
withExecuteStatement(ExecuteStatementRequest executeStatement)
Command to execute a statement in the specified transaction.
|
SendCommandRequest |
withFetchPage(FetchPageRequest fetchPage)
Command to fetch a page.
|
SendCommandRequest |
withSessionToken(String sessionToken)
Specifies the session token for the current command.
|
SendCommandRequest |
withStartSession(StartSessionRequest startSession)
Command to start a new session.
|
SendCommandRequest |
withStartTransaction(StartTransactionRequest startTransaction)
Command to start a new transaction.
|
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 setSessionToken(String sessionToken)
Specifies the session token for the current command. A session token is constant throughout the life of the session.
To obtain a session token, run the StartSession
command. This SessionToken
is required
for every subsequent command that is issued during the current session.
sessionToken
- Specifies the session token for the current command. A session token is constant throughout the life of
the session.
To obtain a session token, run the StartSession
command. This SessionToken
is
required for every subsequent command that is issued during the current session.
public String getSessionToken()
Specifies the session token for the current command. A session token is constant throughout the life of the session.
To obtain a session token, run the StartSession
command. This SessionToken
is required
for every subsequent command that is issued during the current session.
To obtain a session token, run the StartSession
command. This SessionToken
is
required for every subsequent command that is issued during the current session.
public SendCommandRequest withSessionToken(String sessionToken)
Specifies the session token for the current command. A session token is constant throughout the life of the session.
To obtain a session token, run the StartSession
command. This SessionToken
is required
for every subsequent command that is issued during the current session.
sessionToken
- Specifies the session token for the current command. A session token is constant throughout the life of
the session.
To obtain a session token, run the StartSession
command. This SessionToken
is
required for every subsequent command that is issued during the current session.
public void setStartSession(StartSessionRequest startSession)
Command to start a new session. A session token is obtained as part of the response.
startSession
- Command to start a new session. A session token is obtained as part of the response.public StartSessionRequest getStartSession()
Command to start a new session. A session token is obtained as part of the response.
public SendCommandRequest withStartSession(StartSessionRequest startSession)
Command to start a new session. A session token is obtained as part of the response.
startSession
- Command to start a new session. A session token is obtained as part of the response.public void setStartTransaction(StartTransactionRequest startTransaction)
Command to start a new transaction.
startTransaction
- Command to start a new transaction.public StartTransactionRequest getStartTransaction()
Command to start a new transaction.
public SendCommandRequest withStartTransaction(StartTransactionRequest startTransaction)
Command to start a new transaction.
startTransaction
- Command to start a new transaction.public void setEndSession(EndSessionRequest endSession)
Command to end the current session.
endSession
- Command to end the current session.public EndSessionRequest getEndSession()
Command to end the current session.
public SendCommandRequest withEndSession(EndSessionRequest endSession)
Command to end the current session.
endSession
- Command to end the current session.public void setCommitTransaction(CommitTransactionRequest commitTransaction)
Command to commit the specified transaction.
commitTransaction
- Command to commit the specified transaction.public CommitTransactionRequest getCommitTransaction()
Command to commit the specified transaction.
public SendCommandRequest withCommitTransaction(CommitTransactionRequest commitTransaction)
Command to commit the specified transaction.
commitTransaction
- Command to commit the specified transaction.public void setAbortTransaction(AbortTransactionRequest abortTransaction)
Command to abort the current transaction.
abortTransaction
- Command to abort the current transaction.public AbortTransactionRequest getAbortTransaction()
Command to abort the current transaction.
public SendCommandRequest withAbortTransaction(AbortTransactionRequest abortTransaction)
Command to abort the current transaction.
abortTransaction
- Command to abort the current transaction.public void setExecuteStatement(ExecuteStatementRequest executeStatement)
Command to execute a statement in the specified transaction.
executeStatement
- Command to execute a statement in the specified transaction.public ExecuteStatementRequest getExecuteStatement()
Command to execute a statement in the specified transaction.
public SendCommandRequest withExecuteStatement(ExecuteStatementRequest executeStatement)
Command to execute a statement in the specified transaction.
executeStatement
- Command to execute a statement in the specified transaction.public void setFetchPage(FetchPageRequest fetchPage)
Command to fetch a page.
fetchPage
- Command to fetch a page.public FetchPageRequest getFetchPage()
Command to fetch a page.
public SendCommandRequest withFetchPage(FetchPageRequest fetchPage)
Command to fetch a page.
fetchPage
- Command to fetch a page.public String toString()
toString
in class Object
Object.toString()
public SendCommandRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()