public CreateEndpointRequest withSslMode(String sslMode) {
        setSslMode(sslMode);
        return this;
    }
<p>
The Secure Sockets Layer (SSL) mode to use for the SSL connection. The default is <code>none</code>
</p>

@param sslMode
       The Secure Sockets Layer (SSL) mode to use for the SSL connection. The default is <code>none</code>
@return Returns a reference to this object so that method calls can be chained together.
@see DmsSslModeValue
aws-java-sdk-dms/src/main/java/com/amazonaws/services/databasemigrationservice/model/CreateEndpointRequest.java