public void setServiceAccounts(java.util.Collection<ServiceAccountSummary> serviceAccounts) {
        if (serviceAccounts == null) {
            this.serviceAccounts = null;
            return;
        }

        this.serviceAccounts = new java.util.ArrayList<ServiceAccountSummary>(serviceAccounts);
    }
<p>
An array of structures containing information about the service accounts.
</p>

@param serviceAccounts
       An array of structures containing information about the service accounts.
aws-java-sdk-managedgrafana/src/main/java/com/amazonaws/services/managedgrafana/model/ListWorkspaceServiceAccountsResult.java