public class DynamoDBv2Action
extends java.lang.Object
implements java.io.Serializable
Describes an action to write to a DynamoDB table.
This DynamoDB action writes each attribute in the message payload into it's own column in the DynamoDB table.
| Constructor and Description |
|---|
DynamoDBv2Action() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
PutItemInput |
getPutItem()
Specifies the DynamoDB table to which the message data will be written.
|
java.lang.String |
getRoleArn()
The ARN of the IAM role that grants access to the DynamoDB table.
|
int |
hashCode() |
void |
setPutItem(PutItemInput putItem)
Specifies the DynamoDB table to which the message data will be written.
|
void |
setRoleArn(java.lang.String roleArn)
The ARN of the IAM role that grants access to the DynamoDB table.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DynamoDBv2Action |
withPutItem(PutItemInput putItem)
Specifies the DynamoDB table to which the message data will be written.
|
DynamoDBv2Action |
withRoleArn(java.lang.String roleArn)
The ARN of the IAM role that grants access to the DynamoDB table.
|
public java.lang.String getRoleArn()
The ARN of the IAM role that grants access to the DynamoDB table.
The ARN of the IAM role that grants access to the DynamoDB table.
public void setRoleArn(java.lang.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.
public DynamoDBv2Action withRoleArn(java.lang.String roleArn)
The ARN of the IAM role that grants access to the DynamoDB table.
Returns a reference to this object so that method calls can be chained together.
roleArn - The ARN of the IAM role that grants access to the DynamoDB table.
public PutItemInput getPutItem()
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.
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.
public void setPutItem(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.
public DynamoDBv2Action withPutItem(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.
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.
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectCopyright © 2018 Amazon Web Services, Inc. All Rights Reserved.