Class SendHeartbeatOptions
- java.lang.Object
-
- com.amazonaws.services.dynamodbv2.SendHeartbeatOptions
-
public class SendHeartbeatOptions extends Object
A simple bean for sending lock heartbeats or updating the lock data with various combinations of overrides of the default behavior. This bean avoids having to make every combination of override to the sendHeartbeat() method, or to have the user pass specify every argument.- Author:
- David Yanacek
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSendHeartbeatOptions.SendHeartbeatOptionsBuilder
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SendHeartbeatOptions.SendHeartbeatOptionsBuilderbuilder(LockItem lockItem)Creates a SendHeartbeatOptionsBuilder, which can be used for setting options for the sendHeartbeat() method in the lock client.
-
-
-
Method Detail
-
builder
public static SendHeartbeatOptions.SendHeartbeatOptionsBuilder builder(LockItem lockItem)
Creates a SendHeartbeatOptionsBuilder, which can be used for setting options for the sendHeartbeat() method in the lock client. The only required parameter is specified here, which is the lockItem.- Parameters:
lockItem- The lock to send a heartbeat for.- Returns:
- a builder for SendHeartbeatOptions
-
-