public AwsLogSourceConfiguration withAccounts(java.util.Collection<String> accounts) {
        setAccounts(accounts);
        return this;
    }
<p>
Specify the Amazon Web Services account information where you want to enable Security Lake.
</p>

@param accounts
       Specify the Amazon Web Services account information where you want to enable Security Lake.
@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/AwsLogSourceConfiguration.java