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

        this.accounts = new com.amazonaws.internal.SdkInternalList<String>(accounts);
    }
<p>
The names of one or more Amazon Web Services accounts for which you want to deploy stack set updates.
</p>

@param accounts
       The names of one or more Amazon Web Services accounts for which you want to deploy stack set updates.
aws-java-sdk-cloudformation/src/main/java/com/amazonaws/services/cloudformation/model/DeploymentTargets.java