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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default DynamoDBv2Action.Builderpayload(Consumer<Payload.Builder> payload)Sets the value of the Payload property for this object.DynamoDBv2Action.Builderpayload(Payload payload)Sets the value of the Payload property for this object.DynamoDBv2Action.BuildertableName(String tableName)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 Detail
-
tableName
DynamoDBv2Action.Builder tableName(String 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
DynamoDBv2Action.Builder payload(Payload 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
default DynamoDBv2Action.Builder payload(Consumer<Payload.Builder> 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:
payload(Payload)
-
-