public Builder withShutdownGracePeriodSeconds(int shutdownGracePeriodSeconds) {
            if (shutdownGracePeriodSeconds < 1) {
                throw new IllegalArgumentException(
                        "Seconds of shutdownGracePeriod cannot be less than 1");
            }
            this.shutdownGracePeriodSeconds = shutdownGracePeriodSeconds;
            return this;
        }
@param shutdownGracePeriodSeconds waiting seconds before forcing shutdown of your worker
@return Builder instance
client/src/main/java/com/netflix/conductor/client/automator/TaskRunnerConfigurer.java