public static interface GetTransactionResponse.Builder extends ManagedBlockchainQueryResponse.Builder, SdkPojo, CopyableBuilder<GetTransactionResponse.Builder,GetTransactionResponse>
| Modifier and Type | Method and Description |
|---|---|
default GetTransactionResponse.Builder |
transaction(Consumer<Transaction.Builder> transaction)
Contains the details of the transaction.
|
GetTransactionResponse.Builder |
transaction(Transaction transaction)
Contains the details of the transaction.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildGetTransactionResponse.Builder transaction(Transaction transaction)
Contains the details of the transaction.
transaction - Contains the details of the transaction.default GetTransactionResponse.Builder transaction(Consumer<Transaction.Builder> transaction)
Contains the details of the transaction.
This is a convenience method that creates an instance of theTransaction.Builder avoiding the need to
create one manually via Transaction.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result
is passed to transaction(Transaction).
transaction - a consumer that will call methods on Transaction.Buildertransaction(Transaction)Copyright © 2023. All rights reserved.