Interface DynamoDBv2Action.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<DynamoDBv2Action.Builder,
,DynamoDBv2Action> SdkBuilder<DynamoDBv2Action.Builder,
,DynamoDBv2Action> SdkPojo
- Enclosing class:
DynamoDBv2Action
public static interface DynamoDBv2Action.Builder
extends SdkPojo, CopyableBuilder<DynamoDBv2Action.Builder,DynamoDBv2Action>
-
Method Summary
Modifier and TypeMethodDescriptiondefault DynamoDBv2Action.Builder
payload
(Consumer<Payload.Builder> payload) Sets the value of the Payload property for this object.Sets the value of the Payload property for this object.The name of the DynamoDB table.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
tableName
The name of the DynamoDB table.
- Parameters:
tableName
- The name of the DynamoDB table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
payload
Sets the value of the Payload property for this object.- Parameters:
payload
- The new value for the Payload property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
payload
Sets the value of the Payload property for this object. This is a convenience method that creates an instance of thePayload.Builder
avoiding the need to create one manually viaPayload.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed topayload(Payload)
.- Parameters:
payload
- a consumer that will call methods onPayload.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-