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 Details

    • roleArn

      DynamoDBv2Action.Builder roleArn(String roleArn)

      The 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.
    • 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.

      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.
    • 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 method that creates an instance of the PutItemInput.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).

      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: