public Mpeg2Settings withGopSize(Double gopSize) {
        setGopSize(gopSize);
        return this;
    }
Relates to the GOP structure. The GOP size (keyframe interval) in the units specified in gopSizeUnits. If you do
not know what GOP is, use the default. If gopSizeUnits is frames, then the gopSize must be an integer and must be
greater than or equal to 1. If gopSizeUnits is seconds, the gopSize must be greater than 0, but does not need to
be an integer.

@param gopSize
       Relates to the GOP structure. The GOP size (keyframe interval) in the units specified in gopSizeUnits. If
       you do not know what GOP is, use the default. If gopSizeUnits is frames, then the gopSize must be an
       integer and must be greater than or equal to 1. If gopSizeUnits is seconds, the gopSize must be greater
       than 0, but does not need to be an integer.
@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/Mpeg2Settings.java