Interface ListTransactionsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListTransactionsResponse.Builder,,ListTransactionsResponse> LakeFormationResponse.Builder,SdkBuilder<ListTransactionsResponse.Builder,,ListTransactionsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListTransactionsResponse
public static interface ListTransactionsResponse.Builder
extends LakeFormationResponse.Builder, SdkPojo, CopyableBuilder<ListTransactionsResponse.Builder,ListTransactionsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionA continuation token indicating whether additional data is available.transactions(Collection<TransactionDescription> transactions) A list of transactions.transactions(Consumer<TransactionDescription.Builder>... transactions) A list of transactions.transactions(TransactionDescription... transactions) A list of transactions.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.lakeformation.model.LakeFormationResponse.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
-
transactions
A list of transactions. The record for each transaction is a
TransactionDescriptionobject.- Parameters:
transactions- A list of transactions. The record for each transaction is aTransactionDescriptionobject.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
transactions
A list of transactions. The record for each transaction is a
TransactionDescriptionobject.- Parameters:
transactions- A list of transactions. The record for each transaction is aTransactionDescriptionobject.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
transactions
ListTransactionsResponse.Builder transactions(Consumer<TransactionDescription.Builder>... transactions) A list of transactions. The record for each transaction is a
This is a convenience method that creates an instance of theTransactionDescriptionobject.TransactionDescription.Builderavoiding the need to create one manually viaTransactionDescription.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totransactions(List<TransactionDescription>).- Parameters:
transactions- a consumer that will call methods onTransactionDescription.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
A continuation token indicating whether additional data is available.
- Parameters:
nextToken- A continuation token indicating whether additional data is available.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-