public VirtualGatewayListener withTls(VirtualGatewayListenerTls tls) {
        setTls(tls);
        return this;
    }
<p>
A reference to an object that represents the Transport Layer Security (TLS) properties for the listener.
</p>

@param tls
       A reference to an object that represents the Transport Layer Security (TLS) properties for the listener.
@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/VirtualGatewayListener.java