public InputVideoGenerator withDuration(Integer duration) {
        setDuration(duration);
        return this;
    }
Specify the duration, in milliseconds, for your video generator input. Enter an integer from 50 to 86400000.

@param duration
       Specify the duration, in milliseconds, for your video generator input. Enter an integer from 50 to
       86400000.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-mediaconvert/src/main/java/com/amazonaws/services/mediaconvert/model/InputVideoGenerator.java