public LogSourceResource withAwsLogSource(AwsLogSourceResource awsLogSource) {
        setAwsLogSource(awsLogSource);
        return this;
    }
<p>
Amazon Security Lake supports log and event collection for natively supported Amazon Web Services. For more
information, see the <a
href="https://docs.aws.amazon.com/security-lake/latest/userguide/internal-sources.html">Amazon Security Lake User
Guide</a>.
</p>

@param awsLogSource
       Amazon Security Lake supports log and event collection for natively supported Amazon Web Services. For
       more information, see the <a
       href="https://docs.aws.amazon.com/security-lake/latest/userguide/internal-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