public VirtualGatewayListenerTlsCertificate withFile(VirtualGatewayListenerTlsFileCertificate file) {
        setFile(file);
        return this;
    }
<p>
A reference to an object that represents a local file certificate.
</p>

@param file
       A reference to an object that represents a local file certificate.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-appmesh/src/main/java/com/amazonaws/services/appmesh/model/VirtualGatewayListenerTlsCertificate.java