public void setTimeoutInSeconds(Long timeoutInSeconds) {
        this.timeoutInSeconds = timeoutInSeconds;
    }
<p>
The maximum allowed duration of the activity task.
</p>

@param timeoutInSeconds
       The maximum allowed duration of the activity task.
aws-java-sdk-stepfunctions/src/main/java/com/amazonaws/services/stepfunctions/model/ActivityScheduledEventDetails.java