public static interface DynamoDBv2Action.Builder extends SdkPojo, CopyableBuilder<DynamoDBv2Action.Builder,DynamoDBv2Action>
Modifier and Type | Method and Description |
---|---|
default DynamoDBv2Action.Builder |
putItem(Consumer<PutItemInput.Builder> putItem)
Specifies the DynamoDB table to which the message data will be written.
|
DynamoDBv2Action.Builder |
putItem(PutItemInput putItem)
Specifies the DynamoDB table to which the message data will be written.
|
DynamoDBv2Action.Builder |
roleArn(String roleArn)
The ARN of the IAM role that grants access to the DynamoDB table.
|
equalsBySdkFields, sdkFields
copy
applyMutation, build
DynamoDBv2Action.Builder roleArn(String roleArn)
The ARN of the IAM role that grants access to the DynamoDB table.
roleArn
- The ARN of the IAM role that grants access to the DynamoDB table.DynamoDBv2Action.Builder putItem(PutItemInput putItem)
Specifies the DynamoDB table to which the message data will be written. For example:
{ "dynamoDBv2": { "roleArn": "aws:iam:12341251:my-role" "putItem": { "tableName": "my-table" } } }
Each attribute in the message payload will be written to a separate column in the DynamoDB database.
putItem
- Specifies the DynamoDB table to which the message data will be written. For example:
{ "dynamoDBv2": { "roleArn": "aws:iam:12341251:my-role" "putItem": { "tableName": "my-table" } } }
Each attribute in the message payload will be written to a separate column in the DynamoDB database.
default DynamoDBv2Action.Builder putItem(Consumer<PutItemInput.Builder> putItem)
Specifies the DynamoDB table to which the message data will be written. For example:
{ "dynamoDBv2": { "roleArn": "aws:iam:12341251:my-role" "putItem": { "tableName": "my-table" } } }
Each attribute in the message payload will be written to a separate column in the DynamoDB database.
This is a convenience that creates an instance of thePutItemInput.Builder
avoiding the need to
create one manually via PutItemInput.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to putItem(PutItemInput)
.putItem
- a consumer that will call methods on PutItemInput.Builder
putItem(PutItemInput)
Copyright © 2020. All rights reserved.