@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, withSdkRequestTimeout
public 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.TransactionType
public 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.
TransactionType
public 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.TransactionType
public 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.TransactionType
public String toString()
toString
in class Object
Object.toString()
public StartTransactionRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()