public H264Settings withSlices(Integer slices) {
        setSlices(slices);
        return this;
    }
Number of slices per picture. Must be less than or equal to the number of macroblock rows for progressive
pictures, and less than or equal to half the number of macroblock rows for interlaced pictures.

@param slices
       Number of slices per picture. Must be less than or equal to the number of macroblock rows for progressive
       pictures, and less than or equal to half the number of macroblock rows for interlaced pictures.
@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/H264Settings.java