@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class StartTransactionRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
StartTransactionRequest() |
| Modifier and Type | Method and Description |
|---|---|
StartTransactionRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getTransactionType()
Indicates whether this transaction should be read only or read and write.
|
int |
hashCode() |
void |
setTransactionType(String transactionType)
Indicates whether this transaction should be read only or read and write.
|
String |
toString()
Returns a string representation of this object.
|
StartTransactionRequest |
withTransactionType(String transactionType)
Indicates whether this transaction should be read only or read and write.
|
StartTransactionRequest |
withTransactionType(TransactionType transactionType)
Indicates whether this transaction should be read only or read and write.
|
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, withSdkRequestTimeoutpublic void setTransactionType(String transactionType)
Indicates whether this transaction should be read only or read and write. Writes made using a read-only transaction ID will be rejected. Read-only transactions do not need to be committed.
transactionType - Indicates whether this transaction should be read only or read and write. Writes made using a read-only
transaction ID will be rejected. Read-only transactions do not need to be committed.TransactionTypepublic String getTransactionType()
Indicates whether this transaction should be read only or read and write. Writes made using a read-only transaction ID will be rejected. Read-only transactions do not need to be committed.
TransactionTypepublic StartTransactionRequest withTransactionType(String transactionType)
Indicates whether this transaction should be read only or read and write. Writes made using a read-only transaction ID will be rejected. Read-only transactions do not need to be committed.
transactionType - Indicates whether this transaction should be read only or read and write. Writes made using a read-only
transaction ID will be rejected. Read-only transactions do not need to be committed.TransactionTypepublic StartTransactionRequest withTransactionType(TransactionType transactionType)
Indicates whether this transaction should be read only or read and write. Writes made using a read-only transaction ID will be rejected. Read-only transactions do not need to be committed.
transactionType - Indicates whether this transaction should be read only or read and write. Writes made using a read-only
transaction ID will be rejected. Read-only transactions do not need to be committed.TransactionTypepublic String toString()
toString in class ObjectObject.toString()public StartTransactionRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()