Interface DynamoDBv2Action.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<DynamoDBv2Action.Builder,,- DynamoDBv2Action> - SdkBuilder<DynamoDBv2Action.Builder,,- DynamoDBv2Action> - SdkPojo
- Enclosing class:
- DynamoDBv2Action
- 
Method SummaryModifier and TypeMethodDescriptiondefault DynamoDBv2Action.BuilderputItem(Consumer<PutItemInput.Builder> putItem) Specifies the DynamoDB table to which the message data will be written.putItem(PutItemInput putItem) Specifies the DynamoDB table to which the message data will be written.The ARN of the IAM role that grants access to the DynamoDB table.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
roleArnThe ARN of the IAM role that grants access to the DynamoDB table. - Parameters:
- roleArn- The ARN of the IAM role that grants access to the DynamoDB table.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
putItemSpecifies 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. - Parameters:
- 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. 
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
putItemSpecifies 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 method that creates an instance of thePutItemInput.Builderavoiding the need to create one manually viaPutItemInput.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toputItem(PutItemInput).- Parameters:
- putItem- a consumer that will call methods on- PutItemInput.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
 
-