public class S3LinkToStringMarshaller extends java.lang.Object implements ArgumentMarshaller.StringAttributeMarshaller
S3Link
objects to DynamoDB Strings,
using a JSON encoding. For example: {"s3":{"region":"us-west-2",
"bucket":"my-bucket-name", "key": "foo/bar/baz.txt"}}.ArgumentMarshaller.BinaryAttributeMarshaller, ArgumentMarshaller.BinarySetAttributeMarshaller, ArgumentMarshaller.BooleanAttributeMarshaller, ArgumentMarshaller.ListAttributeMarshaller, ArgumentMarshaller.MapAttributeMarshaller, ArgumentMarshaller.NumberAttributeMarshaller, ArgumentMarshaller.NumberSetAttributeMarshaller, ArgumentMarshaller.StringAttributeMarshaller, ArgumentMarshaller.StringSetAttributeMarshaller
Modifier and Type | Field and Description |
---|---|
private static S3LinkToStringMarshaller |
INSTANCE |
Modifier | Constructor and Description |
---|---|
private |
S3LinkToStringMarshaller() |
Modifier and Type | Method and Description |
---|---|
static S3LinkToStringMarshaller |
instance() |
AttributeValue |
marshall(java.lang.Object obj)
Marshalls the object given into an AttributeValue.
|
private static final S3LinkToStringMarshaller INSTANCE
public static S3LinkToStringMarshaller instance()
public AttributeValue marshall(java.lang.Object obj)
ArgumentMarshaller
marshall
in interface ArgumentMarshaller