public void setCodec(String codec) {
        this.codec = codec;
    }
The codec used by the stream.

@param codec
       The codec used by the stream.
aws-java-sdk-mediaconnect/src/main/java/com/amazonaws/services/mediaconnect/model/TransportStream.java