Class GetLockOptions


  • public class GetLockOptions
    extends Object
    Provides options for getting a lock when calling the getLock() method.
    • 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.