@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) |
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.TransactionStatus
public String getTransactionStatus()
A status of ACTIVE, COMMITTED, or ABORTED.
TransactionStatus
public TransactionDescription withTransactionStatus(String transactionStatus)
A status of ACTIVE, COMMITTED, or ABORTED.
transactionStatus
- A status of ACTIVE, COMMITTED, or ABORTED.TransactionStatus
public TransactionDescription withTransactionStatus(TransactionStatus transactionStatus)
A status of ACTIVE, COMMITTED, or ABORTED.
transactionStatus
- A status of ACTIVE, COMMITTED, or ABORTED.TransactionStatus
public 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 Object
Object.toString()
public TransactionDescription clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall
in interface StructuredPojo
Copyright © 2024. All rights reserved.