public static class DynamoDBMapperConfig.Builder
extends java.lang.Object
| Constructor and Description |
|---|
Builder()
Creates a new builder initialized with the
DynamoDBMapperConfig.DEFAULT values. |
public Builder()
DynamoDBMapperConfig.DEFAULT values.public DynamoDBMapperConfig.SaveBehavior getSaveBehavior()
public void setSaveBehavior(DynamoDBMapperConfig.SaveBehavior value)
value - the new save behaviorpublic DynamoDBMapperConfig.Builder withSaveBehavior(DynamoDBMapperConfig.SaveBehavior value)
value - the new save behaviorpublic DynamoDBMapperConfig.ConsistentReads getConsistentReads()
public void setConsistentReads(DynamoDBMapperConfig.ConsistentReads value)
value - the new consistent read behaviorpublic DynamoDBMapperConfig.Builder withConsistentReads(DynamoDBMapperConfig.ConsistentReads value)
value - the new consistent read behaviorpublic DynamoDBMapperConfig.TableNameOverride getTableNameOverride()
public void setTableNameOverride(DynamoDBMapperConfig.TableNameOverride value)
value - the new table name overridepublic DynamoDBMapperConfig.Builder withTableNameOverride(DynamoDBMapperConfig.TableNameOverride value)
value - the new table name overridepublic DynamoDBMapperConfig.TableNameResolver getTableNameResolver()
public void setTableNameResolver(DynamoDBMapperConfig.TableNameResolver value)
value - the new table name resolverpublic DynamoDBMapperConfig.Builder withTableNameResolver(DynamoDBMapperConfig.TableNameResolver value)
value - the new table name resolverpublic DynamoDBMapperConfig.ObjectTableNameResolver getObjectTableNameResolver()
public void setObjectTableNameResolver(DynamoDBMapperConfig.ObjectTableNameResolver value)
value - the new object table name resolverpublic DynamoDBMapperConfig.Builder withObjectTableNameResolver(DynamoDBMapperConfig.ObjectTableNameResolver value)
value - the new object table name resolverpublic DynamoDBMapperConfig.PaginationLoadingStrategy getPaginationLoadingStrategy()
public void setPaginationLoadingStrategy(DynamoDBMapperConfig.PaginationLoadingStrategy value)
value - the new pagination loading strategypublic DynamoDBMapperConfig.Builder withPaginationLoadingStrategy(DynamoDBMapperConfig.PaginationLoadingStrategy value)
value - the new pagination loading strategypublic com.amazonaws.metrics.RequestMetricCollector getRequestMetricCollector()
public void setRequestMetricCollector(com.amazonaws.metrics.RequestMetricCollector value)
value - the new request metric collectorpublic DynamoDBMapperConfig.Builder withRequestMetricCollector(com.amazonaws.metrics.RequestMetricCollector value)
value - the new request metric collectorpublic ConversionSchema getConversionSchema()
public void setConversionSchema(ConversionSchema value)
value - the new conversion schemapublic DynamoDBMapperConfig.Builder withConversionSchema(ConversionSchema value)
value - the new conversion schemapublic DynamoDBMapperConfig build()
DynamoDBMapperConfig object.Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.