public ServiceConnectService withTls(ServiceConnectTlsConfiguration tls) {
        setTls(tls);
        return this;
    }
<p>
A reference to an object that represents a Transport Layer Security (TLS) configuration.
</p>

@param tls
       A reference to an object that represents a Transport Layer Security (TLS) configuration.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-ecs/src/main/java/com/amazonaws/services/ecs/model/ServiceConnectService.java