Package org.leo.aws.ddb.repositories
Class GlobalSecondaryIndexImpl.BuilderImpl
- java.lang.Object
-
- org.leo.aws.ddb.repositories.GlobalSecondaryIndexImpl.BuilderImpl
-
- All Implemented Interfaces:
GSI.Builder
- Enclosing class:
- GlobalSecondaryIndexImpl
private static final class GlobalSecondaryIndexImpl.BuilderImpl extends Object implements GSI.Builder
-
-
Field Summary
Fields Modifier and Type Field Description private Tuple<String,Field>hashKeyTupleprivate Stringnameprivate ProjectionTypeprojectionTypeprivate Tuple<String,Field>rangeKeyTuple
-
Constructor Summary
Constructors Modifier Constructor Description privateBuilderImpl(String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GSIbuild()GSI.BuilderhashKeyTuple(Tuple<String,Field> hashKeyTuple)GSI.BuilderprojectionType(ProjectionType projectionType)GSI.BuilderrangeKeyTuple(Tuple<String,Field> rangeKeyTuple)
-
-
-
Constructor Detail
-
BuilderImpl
private BuilderImpl(String name)
-
-
Method Detail
-
hashKeyTuple
public GSI.Builder hashKeyTuple(Tuple<String,Field> hashKeyTuple)
- Specified by:
hashKeyTuplein interfaceGSI.Builder- Parameters:
hashKeyTuple-- Returns:
-
rangeKeyTuple
public GSI.Builder rangeKeyTuple(Tuple<String,Field> rangeKeyTuple)
- Specified by:
rangeKeyTuplein interfaceGSI.Builder- Parameters:
rangeKeyTuple-- Returns:
-
projectionType
public GSI.Builder projectionType(ProjectionType projectionType)
- Specified by:
projectionTypein interfaceGSI.Builder- Returns:
-
build
public GSI build()
- Specified by:
buildin interfaceGSI.Builder- Returns:
-
-