public static class DynamoDBMapper.Builder
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
DynamoDBMapper.Builder |
attributeTransformer(AttributeTransformer attributeTransformer) |
DynamoDBMapper.Builder |
awsConfiguration(AWSConfiguration awsConfig)
The region of the AmazonDynamoDB object will be set to
the region found in the AWSConfiguration.
|
DynamoDBMapper.Builder |
awsCredentialsProviderForS3(AWSCredentialsProvider s3CredentialsProvider) |
DynamoDBMapper |
build() |
DynamoDBMapper.Builder |
dynamoDBClient(AmazonDynamoDB dynamoDBClient) |
DynamoDBMapper.Builder |
dynamoDBMapperConfig(DynamoDBMapperConfig dynamoConfig)
The configuration to use for all service calls.
|
public DynamoDBMapper.Builder dynamoDBClient(AmazonDynamoDB dynamoDBClient)
dynamoDBClient
- The service object to use for all service callspublic DynamoDBMapper.Builder dynamoDBMapperConfig(DynamoDBMapperConfig dynamoConfig)
DynamoDBMapperConfig.DEFAULT
will be used,dynamoConfig
- configDynamoDBMapperConfig.DEFAULT
public DynamoDBMapper.Builder attributeTransformer(AttributeTransformer attributeTransformer)
attributeTransformer
- The custom attribute transformer to invoke when
serializing or deserializing an object.public DynamoDBMapper.Builder awsCredentialsProviderForS3(AWSCredentialsProvider s3CredentialsProvider)
s3CredentialsProvider
- The credentials provider for accessing S3.
Relevant only if S3Link
is involved.public DynamoDBMapper.Builder awsConfiguration(AWSConfiguration awsConfig)
awsConfig
- the configpublic DynamoDBMapper build()
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.