Class GetLockOptions
- java.lang.Object
-
- com.amazonaws.services.dynamodbv2.GetLockOptions
-
public class GetLockOptions extends Object
Provides options for getting a lock when calling the getLock() method.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGetLockOptions.GetLockOptionsBuilder
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static GetLockOptions.GetLockOptionsBuilderbuilder(String partitionKey)Creates a GetLockOptionsBuilder, which lets the caller specify arguments to getLock().
-
-
-
Method Detail
-
builder
public static GetLockOptions.GetLockOptionsBuilder builder(String partitionKey)
Creates a GetLockOptionsBuilder, which lets the caller specify arguments to getLock(). The only required parameter is the partition key, though the sort key is required if the table has a sort key.- Parameters:
partitionKey- The partitionKey for the lock.- Returns:
- The GetLockOptionsBuilder, which can be used to specify other optional arguments.
-
-