@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TransactionDescription extends Object implements Serializable, Cloneable, StructuredPojo
A structure that contains information about a transaction.
| Constructor and Description |
|---|
TransactionDescription() |
| Modifier and Type | Method and Description |
|---|---|
TransactionDescription |
clone() |
boolean |
equals(Object obj) |
Date |
getTransactionEndTime()
The time when the transaction committed or aborted, if it is not currently active.
|
String |
getTransactionId()
The ID of the transaction.
|
Date |
getTransactionStartTime()
The time when the transaction started.
|
String |
getTransactionStatus()
A status of ACTIVE, COMMITTED, or ABORTED.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setTransactionEndTime(Date transactionEndTime)
The time when the transaction committed or aborted, if it is not currently active.
|
void |
setTransactionId(String transactionId)
The ID of the transaction.
|
void |
setTransactionStartTime(Date transactionStartTime)
The time when the transaction started.
|
void |
setTransactionStatus(String transactionStatus)
A status of ACTIVE, COMMITTED, or ABORTED.
|
String |
toString()
Returns a string representation of this object.
|
TransactionDescription |
withTransactionEndTime(Date transactionEndTime)
The time when the transaction committed or aborted, if it is not currently active.
|
TransactionDescription |
withTransactionId(String transactionId)
The ID of the transaction.
|
TransactionDescription |
withTransactionStartTime(Date transactionStartTime)
The time when the transaction started.
|
TransactionDescription |
withTransactionStatus(String transactionStatus)
A status of ACTIVE, COMMITTED, or ABORTED.
|
TransactionDescription |
withTransactionStatus(TransactionStatus transactionStatus)
A status of ACTIVE, COMMITTED, or ABORTED.
|
public void setTransactionId(String transactionId)
The ID of the transaction.
transactionId - The ID of the transaction.public String getTransactionId()
The ID of the transaction.
public TransactionDescription withTransactionId(String transactionId)
The ID of the transaction.
transactionId - The ID of the transaction.public void setTransactionStatus(String transactionStatus)
A status of ACTIVE, COMMITTED, or ABORTED.
transactionStatus - A status of ACTIVE, COMMITTED, or ABORTED.TransactionStatuspublic String getTransactionStatus()
A status of ACTIVE, COMMITTED, or ABORTED.
TransactionStatuspublic TransactionDescription withTransactionStatus(String transactionStatus)
A status of ACTIVE, COMMITTED, or ABORTED.
transactionStatus - A status of ACTIVE, COMMITTED, or ABORTED.TransactionStatuspublic TransactionDescription withTransactionStatus(TransactionStatus transactionStatus)
A status of ACTIVE, COMMITTED, or ABORTED.
transactionStatus - A status of ACTIVE, COMMITTED, or ABORTED.TransactionStatuspublic void setTransactionStartTime(Date transactionStartTime)
The time when the transaction started.
transactionStartTime - The time when the transaction started.public Date getTransactionStartTime()
The time when the transaction started.
public TransactionDescription withTransactionStartTime(Date transactionStartTime)
The time when the transaction started.
transactionStartTime - The time when the transaction started.public void setTransactionEndTime(Date transactionEndTime)
The time when the transaction committed or aborted, if it is not currently active.
transactionEndTime - The time when the transaction committed or aborted, if it is not currently active.public Date getTransactionEndTime()
The time when the transaction committed or aborted, if it is not currently active.
public TransactionDescription withTransactionEndTime(Date transactionEndTime)
The time when the transaction committed or aborted, if it is not currently active.
transactionEndTime - The time when the transaction committed or aborted, if it is not currently active.public String toString()
toString in class ObjectObject.toString()public TransactionDescription clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.