public RtmpOutputSettings withCertificateMode(RtmpOutputCertificateMode certificateMode) {
        this.certificateMode = certificateMode.toString();
        return this;
    }
If set to verifyAuthenticity, verify the tls certificate chain to a trusted Certificate Authority (CA). This will
cause rtmps outputs with self-signed certificates to fail.

@param certificateMode
       If set to verifyAuthenticity, verify the tls certificate chain to a trusted Certificate Authority (CA).
       This will cause rtmps outputs with self-signed certificates to fail.
@return Returns a reference to this object so that method calls can be chained together.
@see RtmpOutputCertificateMode
aws-java-sdk-medialive/src/main/java/com/amazonaws/services/medialive/model/RtmpOutputSettings.java