Interface DescribeTransactionResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeTransactionResponse.Builder,DescribeTransactionResponse>
,LakeFormationResponse.Builder
,SdkBuilder<DescribeTransactionResponse.Builder,DescribeTransactionResponse>
,SdkPojo
,SdkResponse.Builder
- Enclosing class:
- DescribeTransactionResponse
public static interface DescribeTransactionResponse.Builder extends LakeFormationResponse.Builder, SdkPojo, CopyableBuilder<DescribeTransactionResponse.Builder,DescribeTransactionResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default DescribeTransactionResponse.Builder
transactionDescription(Consumer<TransactionDescription.Builder> transactionDescription)
Returns aTransactionDescription
object containing information about the transaction.DescribeTransactionResponse.Builder
transactionDescription(TransactionDescription transactionDescription)
Returns aTransactionDescription
object containing information about the transaction.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.lakeformation.model.LakeFormationResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
transactionDescription
DescribeTransactionResponse.Builder transactionDescription(TransactionDescription transactionDescription)
Returns a
TransactionDescription
object containing information about the transaction.- Parameters:
transactionDescription
- Returns aTransactionDescription
object containing information about the transaction.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
transactionDescription
default DescribeTransactionResponse.Builder transactionDescription(Consumer<TransactionDescription.Builder> transactionDescription)
Returns a
This is a convenience method that creates an instance of theTransactionDescription
object containing information about the transaction.TransactionDescription.Builder
avoiding the need to create one manually viaTransactionDescription.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totransactionDescription(TransactionDescription)
.- Parameters:
transactionDescription
- 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:
transactionDescription(TransactionDescription)
-
-