public AwsDmsEndpointDetails withSslMode(String sslMode) {
        setSslMode(sslMode);
        return this;
    }
<p>
The SSL mode used to connect to the endpoint. The default is none.
</p>

@param sslMode
       The SSL mode used to connect to the endpoint. The default is none.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-securityhub/src/main/java/com/amazonaws/services/securityhub/model/AwsDmsEndpointDetails.java