Interface GetTransactionResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetTransactionResponse.Builder,,GetTransactionResponse> ManagedBlockchainQueryResponse.Builder,SdkBuilder<GetTransactionResponse.Builder,,GetTransactionResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetTransactionResponse
public static interface GetTransactionResponse.Builder
extends ManagedBlockchainQueryResponse.Builder, SdkPojo, CopyableBuilder<GetTransactionResponse.Builder,GetTransactionResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault GetTransactionResponse.Buildertransaction(Consumer<Transaction.Builder> transaction) Contains the details of the transaction.transaction(Transaction transaction) Contains the details of the transaction.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.managedblockchainquery.model.ManagedBlockchainQueryResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
transaction
Contains the details of the transaction.
- Parameters:
transaction- Contains the details of the transaction.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
transaction
Contains the details of the transaction.
This is a convenience method that creates an instance of theTransaction.Builderavoiding the need to create one manually viaTransaction.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totransaction(Transaction).- Parameters:
transaction- a consumer that will call methods onTransaction.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-