public final 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 | Method and Description |
---|---|
static S3LinkToStringMarshaller |
instance()
returns a singleton instance.
|
AttributeValue |
marshall(java.lang.Object obj)
Marshalls the object given into an AttributeValue.
|
public static S3LinkToStringMarshaller instance()
S3LinkToStringMarshaller
public AttributeValue marshall(java.lang.Object obj)
ArgumentMarshaller
marshall
in interface ArgumentMarshaller
obj
- the object to be marshalled.AttributeValue
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.