StructuredPojo
, ToCopyableBuilder<DynamoDBv2Action.Builder,DynamoDBv2Action>
@Generated("software.amazon.awssdk:codegen") public class DynamoDBv2Action extends Object implements StructuredPojo, ToCopyableBuilder<DynamoDBv2Action.Builder,DynamoDBv2Action>
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.
Modifier and Type | Class | Description |
---|---|---|
static interface |
DynamoDBv2Action.Builder |
Modifier and Type | Method | Description |
---|---|---|
static DynamoDBv2Action.Builder |
builder() |
|
boolean |
equals(Object obj) |
|
int |
hashCode() |
|
void |
marshall(ProtocolMarshaller protocolMarshaller) |
Marshalls this structured data using the given
ProtocolMarshaller . |
PutItemInput |
putItem() |
Specifies the DynamoDB table to which the message data will be written.
|
String |
roleArn() |
The ARN of the IAM role that grants access to the DynamoDB table.
|
static Class<? extends DynamoDBv2Action.Builder> |
serializableBuilderClass() |
|
DynamoDBv2Action.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
public String roleArn()
The ARN of the IAM role that grants access to the DynamoDB table.
public 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.
{ "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.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<DynamoDBv2Action.Builder,DynamoDBv2Action>
public static DynamoDBv2Action.Builder builder()
public static Class<? extends DynamoDBv2Action.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.