Interface DynamoDBv2Action.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<DynamoDBv2Action.Builder,,DynamoDBv2Action> SdkBuilder<DynamoDBv2Action.Builder,,DynamoDBv2Action> SdkPojo
- Enclosing class:
DynamoDBv2Action
@Mutable
@NotThreadSafe
public static interface DynamoDBv2Action.Builder
extends SdkPojo, CopyableBuilder<DynamoDBv2Action.Builder,DynamoDBv2Action>
-
Method Summary
Modifier and TypeMethodDescriptiondefault DynamoDBv2Action.Builderpayload(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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, 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.Builderavoiding the need to create one manually viaPayload.builder().When the
Consumercompletes,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:
-