public Long getHeartbeatInSeconds() {
        return this.heartbeatInSeconds;
    }
<p>
The maximum allowed duration between two heartbeats for the activity task.
</p>

@return The maximum allowed duration between two heartbeats for the activity task.
aws-java-sdk-stepfunctions/src/main/java/com/amazonaws/services/stepfunctions/model/ActivityScheduledEventDetails.java