/* * Copyright 2018-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions * and limitations under the License. */ package com.amazonaws.services.managedblockchainquery.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.protocol.StructuredPojo; import com.amazonaws.protocol.ProtocolMarshaller; /** *

* There are two possible types of transactions used for this data type: *

* * * @see AWS API Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class Transaction implements Serializable, Cloneable, StructuredPojo { /** *

* The blockchain network where the transaction occured. *

*/ private String network; /** *

* The block hash is a unique identifier for a block. It is a fixed-size string that is calculated by using the * information in the block. The block hash is used to verify the integrity of the data in the block. *

*/ private String blockHash; /** *

* The hash of the transaction. It is generated whenever a transaction is verified and added to the blockchain. *

*/ private String transactionHash; /** *

* The block number in which the transaction is recorded. *

*/ private String blockNumber; /** *

* The Timestamp of the transaction. *

*/ private java.util.Date transactionTimestamp; /** *

* The index of the transaction within a blockchain. *

*/ private Long transactionIndex; /** *

* The number of transactions in the block. *

*/ private Long numberOfTransactions; /** *

* The status of the transaction. *

*/ private String status; /** *

* The identifier of the transaction. It is generated whenever a transaction is verified and added to the * blockchain. *

*/ private String to; /** *

* The initiator of the transaction. It is either in the form a public key or a contract address. *

*/ private String from; /** *

* The blockchain address for the contract. *

*/ private String contractAddress; /** *

* The amount of gas used for the transaction. *

*/ private String gasUsed; /** *

* The amount of gas used up to the specified point in the block. *

*/ private String cumulativeGasUsed; /** *

* The effective gas price. *

*/ private String effectiveGasPrice; /** *

* The signature of the transaction. The Z coordinate of a point V. *

*/ private Integer signatureV; /** *

* The signature of the transaction. The X coordinate of a point R. *

*/ private String signatureR; /** *

* The signature of the transaction. The Y coordinate of a point S. *

*/ private String signatureS; /** *

* The transaction fee. *

*/ private String transactionFee; /** *

* The unique identifier of the transaction. It is generated whenever a transaction is verified and added to the * blockchain. *

*/ private String transactionId; /** *

* The blockchain network where the transaction occured. *

* * @param network * The blockchain network where the transaction occured. * @see QueryNetwork */ public void setNetwork(String network) { this.network = network; } /** *

* The blockchain network where the transaction occured. *

* * @return The blockchain network where the transaction occured. * @see QueryNetwork */ public String getNetwork() { return this.network; } /** *

* The blockchain network where the transaction occured. *

* * @param network * The blockchain network where the transaction occured. * @return Returns a reference to this object so that method calls can be chained together. * @see QueryNetwork */ public Transaction withNetwork(String network) { setNetwork(network); return this; } /** *

* The blockchain network where the transaction occured. *

* * @param network * The blockchain network where the transaction occured. * @return Returns a reference to this object so that method calls can be chained together. * @see QueryNetwork */ public Transaction withNetwork(QueryNetwork network) { this.network = network.toString(); return this; } /** *

* The block hash is a unique identifier for a block. It is a fixed-size string that is calculated by using the * information in the block. The block hash is used to verify the integrity of the data in the block. *

* * @param blockHash * The block hash is a unique identifier for a block. It is a fixed-size string that is calculated by using * the information in the block. The block hash is used to verify the integrity of the data in the block. */ public void setBlockHash(String blockHash) { this.blockHash = blockHash; } /** *

* The block hash is a unique identifier for a block. It is a fixed-size string that is calculated by using the * information in the block. The block hash is used to verify the integrity of the data in the block. *

* * @return The block hash is a unique identifier for a block. It is a fixed-size string that is calculated by using * the information in the block. The block hash is used to verify the integrity of the data in the block. */ public String getBlockHash() { return this.blockHash; } /** *

* The block hash is a unique identifier for a block. It is a fixed-size string that is calculated by using the * information in the block. The block hash is used to verify the integrity of the data in the block. *

* * @param blockHash * The block hash is a unique identifier for a block. It is a fixed-size string that is calculated by using * the information in the block. The block hash is used to verify the integrity of the data in the block. * @return Returns a reference to this object so that method calls can be chained together. */ public Transaction withBlockHash(String blockHash) { setBlockHash(blockHash); return this; } /** *

* The hash of the transaction. It is generated whenever a transaction is verified and added to the blockchain. *

* * @param transactionHash * The hash of the transaction. It is generated whenever a transaction is verified and added to the * blockchain. */ public void setTransactionHash(String transactionHash) { this.transactionHash = transactionHash; } /** *

* The hash of the transaction. It is generated whenever a transaction is verified and added to the blockchain. *

* * @return The hash of the transaction. It is generated whenever a transaction is verified and added to the * blockchain. */ public String getTransactionHash() { return this.transactionHash; } /** *

* The hash of the transaction. It is generated whenever a transaction is verified and added to the blockchain. *

* * @param transactionHash * The hash of the transaction. It is generated whenever a transaction is verified and added to the * blockchain. * @return Returns a reference to this object so that method calls can be chained together. */ public Transaction withTransactionHash(String transactionHash) { setTransactionHash(transactionHash); return this; } /** *

* The block number in which the transaction is recorded. *

* * @param blockNumber * The block number in which the transaction is recorded. */ public void setBlockNumber(String blockNumber) { this.blockNumber = blockNumber; } /** *

* The block number in which the transaction is recorded. *

* * @return The block number in which the transaction is recorded. */ public String getBlockNumber() { return this.blockNumber; } /** *

* The block number in which the transaction is recorded. *

* * @param blockNumber * The block number in which the transaction is recorded. * @return Returns a reference to this object so that method calls can be chained together. */ public Transaction withBlockNumber(String blockNumber) { setBlockNumber(blockNumber); return this; } /** *

* The Timestamp of the transaction. *

* * @param transactionTimestamp * The Timestamp of the transaction. */ public void setTransactionTimestamp(java.util.Date transactionTimestamp) { this.transactionTimestamp = transactionTimestamp; } /** *

* The Timestamp of the transaction. *

* * @return The Timestamp of the transaction. */ public java.util.Date getTransactionTimestamp() { return this.transactionTimestamp; } /** *

* The Timestamp of the transaction. *

* * @param transactionTimestamp * The Timestamp of the transaction. * @return Returns a reference to this object so that method calls can be chained together. */ public Transaction withTransactionTimestamp(java.util.Date transactionTimestamp) { setTransactionTimestamp(transactionTimestamp); return this; } /** *

* The index of the transaction within a blockchain. *

* * @param transactionIndex * The index of the transaction within a blockchain. */ public void setTransactionIndex(Long transactionIndex) { this.transactionIndex = transactionIndex; } /** *

* The index of the transaction within a blockchain. *

* * @return The index of the transaction within a blockchain. */ public Long getTransactionIndex() { return this.transactionIndex; } /** *

* The index of the transaction within a blockchain. *

* * @param transactionIndex * The index of the transaction within a blockchain. * @return Returns a reference to this object so that method calls can be chained together. */ public Transaction withTransactionIndex(Long transactionIndex) { setTransactionIndex(transactionIndex); return this; } /** *

* The number of transactions in the block. *

* * @param numberOfTransactions * The number of transactions in the block. */ public void setNumberOfTransactions(Long numberOfTransactions) { this.numberOfTransactions = numberOfTransactions; } /** *

* The number of transactions in the block. *

* * @return The number of transactions in the block. */ public Long getNumberOfTransactions() { return this.numberOfTransactions; } /** *

* The number of transactions in the block. *

* * @param numberOfTransactions * The number of transactions in the block. * @return Returns a reference to this object so that method calls can be chained together. */ public Transaction withNumberOfTransactions(Long numberOfTransactions) { setNumberOfTransactions(numberOfTransactions); return this; } /** *

* The status of the transaction. *

* * @param status * The status of the transaction. * @see QueryTransactionStatus */ public void setStatus(String status) { this.status = status; } /** *

* The status of the transaction. *

* * @return The status of the transaction. * @see QueryTransactionStatus */ public String getStatus() { return this.status; } /** *

* The status of the transaction. *

* * @param status * The status of the transaction. * @return Returns a reference to this object so that method calls can be chained together. * @see QueryTransactionStatus */ public Transaction withStatus(String status) { setStatus(status); return this; } /** *

* The status of the transaction. *

* * @param status * The status of the transaction. * @return Returns a reference to this object so that method calls can be chained together. * @see QueryTransactionStatus */ public Transaction withStatus(QueryTransactionStatus status) { this.status = status.toString(); return this; } /** *

* The identifier of the transaction. It is generated whenever a transaction is verified and added to the * blockchain. *

* * @param to * The identifier of the transaction. It is generated whenever a transaction is verified and added to the * blockchain. */ public void setTo(String to) { this.to = to; } /** *

* The identifier of the transaction. It is generated whenever a transaction is verified and added to the * blockchain. *

* * @return The identifier of the transaction. It is generated whenever a transaction is verified and added to the * blockchain. */ public String getTo() { return this.to; } /** *

* The identifier of the transaction. It is generated whenever a transaction is verified and added to the * blockchain. *

* * @param to * The identifier of the transaction. It is generated whenever a transaction is verified and added to the * blockchain. * @return Returns a reference to this object so that method calls can be chained together. */ public Transaction withTo(String to) { setTo(to); return this; } /** *

* The initiator of the transaction. It is either in the form a public key or a contract address. *

* * @param from * The initiator of the transaction. It is either in the form a public key or a contract address. */ public void setFrom(String from) { this.from = from; } /** *

* The initiator of the transaction. It is either in the form a public key or a contract address. *

* * @return The initiator of the transaction. It is either in the form a public key or a contract address. */ public String getFrom() { return this.from; } /** *

* The initiator of the transaction. It is either in the form a public key or a contract address. *

* * @param from * The initiator of the transaction. It is either in the form a public key or a contract address. * @return Returns a reference to this object so that method calls can be chained together. */ public Transaction withFrom(String from) { setFrom(from); return this; } /** *

* The blockchain address for the contract. *

* * @param contractAddress * The blockchain address for the contract. */ public void setContractAddress(String contractAddress) { this.contractAddress = contractAddress; } /** *

* The blockchain address for the contract. *

* * @return The blockchain address for the contract. */ public String getContractAddress() { return this.contractAddress; } /** *

* The blockchain address for the contract. *

* * @param contractAddress * The blockchain address for the contract. * @return Returns a reference to this object so that method calls can be chained together. */ public Transaction withContractAddress(String contractAddress) { setContractAddress(contractAddress); return this; } /** *

* The amount of gas used for the transaction. *

* * @param gasUsed * The amount of gas used for the transaction. */ public void setGasUsed(String gasUsed) { this.gasUsed = gasUsed; } /** *

* The amount of gas used for the transaction. *

* * @return The amount of gas used for the transaction. */ public String getGasUsed() { return this.gasUsed; } /** *

* The amount of gas used for the transaction. *

* * @param gasUsed * The amount of gas used for the transaction. * @return Returns a reference to this object so that method calls can be chained together. */ public Transaction withGasUsed(String gasUsed) { setGasUsed(gasUsed); return this; } /** *

* The amount of gas used up to the specified point in the block. *

* * @param cumulativeGasUsed * The amount of gas used up to the specified point in the block. */ public void setCumulativeGasUsed(String cumulativeGasUsed) { this.cumulativeGasUsed = cumulativeGasUsed; } /** *

* The amount of gas used up to the specified point in the block. *

* * @return The amount of gas used up to the specified point in the block. */ public String getCumulativeGasUsed() { return this.cumulativeGasUsed; } /** *

* The amount of gas used up to the specified point in the block. *

* * @param cumulativeGasUsed * The amount of gas used up to the specified point in the block. * @return Returns a reference to this object so that method calls can be chained together. */ public Transaction withCumulativeGasUsed(String cumulativeGasUsed) { setCumulativeGasUsed(cumulativeGasUsed); return this; } /** *

* The effective gas price. *

* * @param effectiveGasPrice * The effective gas price. */ public void setEffectiveGasPrice(String effectiveGasPrice) { this.effectiveGasPrice = effectiveGasPrice; } /** *

* The effective gas price. *

* * @return The effective gas price. */ public String getEffectiveGasPrice() { return this.effectiveGasPrice; } /** *

* The effective gas price. *

* * @param effectiveGasPrice * The effective gas price. * @return Returns a reference to this object so that method calls can be chained together. */ public Transaction withEffectiveGasPrice(String effectiveGasPrice) { setEffectiveGasPrice(effectiveGasPrice); return this; } /** *

* The signature of the transaction. The Z coordinate of a point V. *

* * @param signatureV * The signature of the transaction. The Z coordinate of a point V. */ public void setSignatureV(Integer signatureV) { this.signatureV = signatureV; } /** *

* The signature of the transaction. The Z coordinate of a point V. *

* * @return The signature of the transaction. The Z coordinate of a point V. */ public Integer getSignatureV() { return this.signatureV; } /** *

* The signature of the transaction. The Z coordinate of a point V. *

* * @param signatureV * The signature of the transaction. The Z coordinate of a point V. * @return Returns a reference to this object so that method calls can be chained together. */ public Transaction withSignatureV(Integer signatureV) { setSignatureV(signatureV); return this; } /** *

* The signature of the transaction. The X coordinate of a point R. *

* * @param signatureR * The signature of the transaction. The X coordinate of a point R. */ public void setSignatureR(String signatureR) { this.signatureR = signatureR; } /** *

* The signature of the transaction. The X coordinate of a point R. *

* * @return The signature of the transaction. The X coordinate of a point R. */ public String getSignatureR() { return this.signatureR; } /** *

* The signature of the transaction. The X coordinate of a point R. *

* * @param signatureR * The signature of the transaction. The X coordinate of a point R. * @return Returns a reference to this object so that method calls can be chained together. */ public Transaction withSignatureR(String signatureR) { setSignatureR(signatureR); return this; } /** *

* The signature of the transaction. The Y coordinate of a point S. *

* * @param signatureS * The signature of the transaction. The Y coordinate of a point S. */ public void setSignatureS(String signatureS) { this.signatureS = signatureS; } /** *

* The signature of the transaction. The Y coordinate of a point S. *

* * @return The signature of the transaction. The Y coordinate of a point S. */ public String getSignatureS() { return this.signatureS; } /** *

* The signature of the transaction. The Y coordinate of a point S. *

* * @param signatureS * The signature of the transaction. The Y coordinate of a point S. * @return Returns a reference to this object so that method calls can be chained together. */ public Transaction withSignatureS(String signatureS) { setSignatureS(signatureS); return this; } /** *

* The transaction fee. *

* * @param transactionFee * The transaction fee. */ public void setTransactionFee(String transactionFee) { this.transactionFee = transactionFee; } /** *

* The transaction fee. *

* * @return The transaction fee. */ public String getTransactionFee() { return this.transactionFee; } /** *

* The transaction fee. *

* * @param transactionFee * The transaction fee. * @return Returns a reference to this object so that method calls can be chained together. */ public Transaction withTransactionFee(String transactionFee) { setTransactionFee(transactionFee); return this; } /** *

* The unique identifier of the transaction. It is generated whenever a transaction is verified and added to the * blockchain. *

* * @param transactionId * The unique identifier of the transaction. It is generated whenever a transaction is verified and added to * the blockchain. */ public void setTransactionId(String transactionId) { this.transactionId = transactionId; } /** *

* The unique identifier of the transaction. It is generated whenever a transaction is verified and added to the * blockchain. *

* * @return The unique identifier of the transaction. It is generated whenever a transaction is verified and added to * the blockchain. */ public String getTransactionId() { return this.transactionId; } /** *

* The unique identifier of the transaction. It is generated whenever a transaction is verified and added to the * blockchain. *

* * @param transactionId * The unique identifier of the transaction. It is generated whenever a transaction is verified and added to * the blockchain. * @return Returns a reference to this object so that method calls can be chained together. */ public Transaction withTransactionId(String transactionId) { setTransactionId(transactionId); return this; } /** * Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be * redacted from this string using a placeholder value. * * @return A string representation of this object. * * @see java.lang.Object#toString() */ @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("{"); if (getNetwork() != null) sb.append("Network: ").append(getNetwork()).append(","); if (getBlockHash() != null) sb.append("BlockHash: ").append(getBlockHash()).append(","); if (getTransactionHash() != null) sb.append("TransactionHash: ").append(getTransactionHash()).append(","); if (getBlockNumber() != null) sb.append("BlockNumber: ").append(getBlockNumber()).append(","); if (getTransactionTimestamp() != null) sb.append("TransactionTimestamp: ").append(getTransactionTimestamp()).append(","); if (getTransactionIndex() != null) sb.append("TransactionIndex: ").append(getTransactionIndex()).append(","); if (getNumberOfTransactions() != null) sb.append("NumberOfTransactions: ").append(getNumberOfTransactions()).append(","); if (getStatus() != null) sb.append("Status: ").append(getStatus()).append(","); if (getTo() != null) sb.append("To: ").append(getTo()).append(","); if (getFrom() != null) sb.append("From: ").append(getFrom()).append(","); if (getContractAddress() != null) sb.append("ContractAddress: ").append(getContractAddress()).append(","); if (getGasUsed() != null) sb.append("GasUsed: ").append(getGasUsed()).append(","); if (getCumulativeGasUsed() != null) sb.append("CumulativeGasUsed: ").append(getCumulativeGasUsed()).append(","); if (getEffectiveGasPrice() != null) sb.append("EffectiveGasPrice: ").append(getEffectiveGasPrice()).append(","); if (getSignatureV() != null) sb.append("SignatureV: ").append(getSignatureV()).append(","); if (getSignatureR() != null) sb.append("SignatureR: ").append(getSignatureR()).append(","); if (getSignatureS() != null) sb.append("SignatureS: ").append(getSignatureS()).append(","); if (getTransactionFee() != null) sb.append("TransactionFee: ").append(getTransactionFee()).append(","); if (getTransactionId() != null) sb.append("TransactionId: ").append(getTransactionId()); sb.append("}"); return sb.toString(); } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof Transaction == false) return false; Transaction other = (Transaction) obj; if (other.getNetwork() == null ^ this.getNetwork() == null) return false; if (other.getNetwork() != null && other.getNetwork().equals(this.getNetwork()) == false) return false; if (other.getBlockHash() == null ^ this.getBlockHash() == null) return false; if (other.getBlockHash() != null && other.getBlockHash().equals(this.getBlockHash()) == false) return false; if (other.getTransactionHash() == null ^ this.getTransactionHash() == null) return false; if (other.getTransactionHash() != null && other.getTransactionHash().equals(this.getTransactionHash()) == false) return false; if (other.getBlockNumber() == null ^ this.getBlockNumber() == null) return false; if (other.getBlockNumber() != null && other.getBlockNumber().equals(this.getBlockNumber()) == false) return false; if (other.getTransactionTimestamp() == null ^ this.getTransactionTimestamp() == null) return false; if (other.getTransactionTimestamp() != null && other.getTransactionTimestamp().equals(this.getTransactionTimestamp()) == false) return false; if (other.getTransactionIndex() == null ^ this.getTransactionIndex() == null) return false; if (other.getTransactionIndex() != null && other.getTransactionIndex().equals(this.getTransactionIndex()) == false) return false; if (other.getNumberOfTransactions() == null ^ this.getNumberOfTransactions() == null) return false; if (other.getNumberOfTransactions() != null && other.getNumberOfTransactions().equals(this.getNumberOfTransactions()) == false) return false; if (other.getStatus() == null ^ this.getStatus() == null) return false; if (other.getStatus() != null && other.getStatus().equals(this.getStatus()) == false) return false; if (other.getTo() == null ^ this.getTo() == null) return false; if (other.getTo() != null && other.getTo().equals(this.getTo()) == false) return false; if (other.getFrom() == null ^ this.getFrom() == null) return false; if (other.getFrom() != null && other.getFrom().equals(this.getFrom()) == false) return false; if (other.getContractAddress() == null ^ this.getContractAddress() == null) return false; if (other.getContractAddress() != null && other.getContractAddress().equals(this.getContractAddress()) == false) return false; if (other.getGasUsed() == null ^ this.getGasUsed() == null) return false; if (other.getGasUsed() != null && other.getGasUsed().equals(this.getGasUsed()) == false) return false; if (other.getCumulativeGasUsed() == null ^ this.getCumulativeGasUsed() == null) return false; if (other.getCumulativeGasUsed() != null && other.getCumulativeGasUsed().equals(this.getCumulativeGasUsed()) == false) return false; if (other.getEffectiveGasPrice() == null ^ this.getEffectiveGasPrice() == null) return false; if (other.getEffectiveGasPrice() != null && other.getEffectiveGasPrice().equals(this.getEffectiveGasPrice()) == false) return false; if (other.getSignatureV() == null ^ this.getSignatureV() == null) return false; if (other.getSignatureV() != null && other.getSignatureV().equals(this.getSignatureV()) == false) return false; if (other.getSignatureR() == null ^ this.getSignatureR() == null) return false; if (other.getSignatureR() != null && other.getSignatureR().equals(this.getSignatureR()) == false) return false; if (other.getSignatureS() == null ^ this.getSignatureS() == null) return false; if (other.getSignatureS() != null && other.getSignatureS().equals(this.getSignatureS()) == false) return false; if (other.getTransactionFee() == null ^ this.getTransactionFee() == null) return false; if (other.getTransactionFee() != null && other.getTransactionFee().equals(this.getTransactionFee()) == false) return false; if (other.getTransactionId() == null ^ this.getTransactionId() == null) return false; if (other.getTransactionId() != null && other.getTransactionId().equals(this.getTransactionId()) == false) return false; return true; } @Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getNetwork() == null) ? 0 : getNetwork().hashCode()); hashCode = prime * hashCode + ((getBlockHash() == null) ? 0 : getBlockHash().hashCode()); hashCode = prime * hashCode + ((getTransactionHash() == null) ? 0 : getTransactionHash().hashCode()); hashCode = prime * hashCode + ((getBlockNumber() == null) ? 0 : getBlockNumber().hashCode()); hashCode = prime * hashCode + ((getTransactionTimestamp() == null) ? 0 : getTransactionTimestamp().hashCode()); hashCode = prime * hashCode + ((getTransactionIndex() == null) ? 0 : getTransactionIndex().hashCode()); hashCode = prime * hashCode + ((getNumberOfTransactions() == null) ? 0 : getNumberOfTransactions().hashCode()); hashCode = prime * hashCode + ((getStatus() == null) ? 0 : getStatus().hashCode()); hashCode = prime * hashCode + ((getTo() == null) ? 0 : getTo().hashCode()); hashCode = prime * hashCode + ((getFrom() == null) ? 0 : getFrom().hashCode()); hashCode = prime * hashCode + ((getContractAddress() == null) ? 0 : getContractAddress().hashCode()); hashCode = prime * hashCode + ((getGasUsed() == null) ? 0 : getGasUsed().hashCode()); hashCode = prime * hashCode + ((getCumulativeGasUsed() == null) ? 0 : getCumulativeGasUsed().hashCode()); hashCode = prime * hashCode + ((getEffectiveGasPrice() == null) ? 0 : getEffectiveGasPrice().hashCode()); hashCode = prime * hashCode + ((getSignatureV() == null) ? 0 : getSignatureV().hashCode()); hashCode = prime * hashCode + ((getSignatureR() == null) ? 0 : getSignatureR().hashCode()); hashCode = prime * hashCode + ((getSignatureS() == null) ? 0 : getSignatureS().hashCode()); hashCode = prime * hashCode + ((getTransactionFee() == null) ? 0 : getTransactionFee().hashCode()); hashCode = prime * hashCode + ((getTransactionId() == null) ? 0 : getTransactionId().hashCode()); return hashCode; } @Override public Transaction clone() { try { return (Transaction) super.clone(); } catch (CloneNotSupportedException e) { throw new IllegalStateException("Got a CloneNotSupportedException from Object.clone() " + "even though we're Cloneable!", e); } } @com.amazonaws.annotation.SdkInternalApi @Override public void marshall(ProtocolMarshaller protocolMarshaller) { com.amazonaws.services.managedblockchainquery.model.transform.TransactionMarshaller.getInstance().marshall(this, protocolMarshaller); } }