public LogSourceResource withCustomLogSource(CustomLogSourceResource customLogSource) {
        setCustomLogSource(customLogSource);
        return this;
    }
<p>
Amazon Security Lake supports custom source types. For more information, see the <a
href="https://docs.aws.amazon.com/security-lake/latest/userguide/custom-sources.html">Amazon Security Lake User
Guide</a>.
</p>

@param customLogSource
       Amazon Security Lake supports custom source types. For more information, see the <a
       href="https://docs.aws.amazon.com/security-lake/latest/userguide/custom-sources.html">Amazon Security Lake
       User Guide</a>.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-securitylake/src/main/java/com/amazonaws/services/securitylake/model/LogSourceResource.java