@Generated(value="software.amazon.awssdk:codegen") public final class DynamoDBv2Action extends Object implements SdkPojo, Serializable, 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 and Description |
---|---|
static interface |
DynamoDBv2Action.Builder |
Modifier and Type | Method and Description |
---|---|
static DynamoDBv2Action.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
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.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends DynamoDBv2Action.Builder> |
serializableBuilderClass() |
DynamoDBv2Action.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public final String roleArn()
The ARN of the IAM role that grants access to the DynamoDB table.
public final 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()
toBuilder
in interface ToCopyableBuilder<DynamoDBv2Action.Builder,DynamoDBv2Action>
public static DynamoDBv2Action.Builder builder()
public static Class<? extends DynamoDBv2Action.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public final String toString()
Copyright © 2021. All rights reserved.