public void setAccounts(java.util.Collection<String> accounts) {
        if (accounts == null) {
            this.accounts = null;
            return;
        }

        this.accounts = new java.util.ArrayList<String>(accounts);
    }
<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.
aws-java-sdk-securitylake/src/main/java/com/amazonaws/services/securitylake/model/AwsLogSourceConfiguration.java