public MsSmoothGroupSettings withFragmentLength(Integer fragmentLength) {
        setFragmentLength(fragmentLength);
        return this;
    }
Length of mp4 fragments to generate (in seconds). Fragment length must be compatible with GOP size and framerate.

@param fragmentLength
       Length of mp4 fragments to generate (in seconds). Fragment length must be compatible with GOP size and
       framerate.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-medialive/src/main/java/com/amazonaws/services/medialive/model/MsSmoothGroupSettings.java